SuccessConsole Output

Skipping 4,147 KB.. Full Log
2017-11-22 06:08:57,051]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Restarting SiddhiAppPersistence and restoring last saved state
[2017-11-22 06:08:57,053]  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-22 06:08:57,057]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:08:57,058]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:08:57,059]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:08:57,061]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:08:57,149]  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-22 06:08:57,250]  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-22 06:08:57,811]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Siddhi App SiddhiAppPersistence successfully started and restored to 1511330928800_SiddhiAppPersistence revision
[2017-11-22 06:08:57,812]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511330937812, data=[WSO2, 300], isExpired=false}]
[2017-11-22 06:08:58,312]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511330938312, data=[WSO2, 300], isExpired=false}]
[2017-11-22 06:08:58,813]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511330938813, data=[WSO2, 280], isExpired=false}]
[2017-11-22 06:08:59,314]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511330939313, data=[WSO2, 280], isExpired=false}]
[2017-11-22 06:08:59,814]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511330939814, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-22 06:09:00,398]  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-22 06:09:00,771]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-22 06:09:48,887]  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-22 06:09:48,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-22 06:09:48,961]  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-22 06:09:48,976]  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-22 06:09:49,061]  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-22 06:09:49,076]  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-22 06:09:49,148]  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-22 06:09:49,163]  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-22 06:09:49,235]  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-22 06:09:49,264]  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-22 06:09:49,336]  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-22 06:09:49,364]  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-22 06:09:49,437]  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-22 06:09:49,465]  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-22 06:09:49,524]  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-22 06:09:49,540]  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-22 06:09:49,611]  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-22 06:09:49,627]  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-22 06:09:49,699]  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-22 06:09:49,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-22 06:09:49,787]  WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection oracle.jdbc.driver.T4CConnectio[email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected

[2017-11-22 06:09:49,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-22 06:09:49,861]  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-22 06:09:49,872]  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-22 06:09:49,946]  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-22 06:09:49,947]  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-22 06:09:50,032]  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-22 06:09:50,033]  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-22 06:09:50,120]  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-22 06:09:50,120]  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-22 06:09:50,220]  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-22 06:09:50,260]  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-22 06:09:50,308]  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-22 06:09:50,347]  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-22 06:09:50,394]  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-22 06:09:50,421]  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-22 06:09:50,481]  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-22 06:09:50,494]  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-22 06:09:50,570]  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-22 06:09:50,594]  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-22 06:09:50,671]  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-22 06:09:50,696]  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-22 06:09:50,746]  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-22 06:09:50,797]  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-22 06:09:50,833]  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-22 06:09:50,870]  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-22 06:09:50,920]  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-22 06:09:50,943]  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-22 06:10:00,867]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-22 06:10:00,876]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-22 06:10:00,883]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-22 06:10:00,886]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-22 06:10:00,895]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-22 06:10:00,900]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:10:00,900]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-22 06:10:00,904]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-22 06:10:00,907]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-22 06:10:00,911]  INFO {org.wso2.carbon.event.simulator.core.api.FilesApi} - Simulator service file component is deactivated
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.UrlProvisionOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.BootDelegationOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.wso2.carbon.container.options.CopyFileOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.wso2.carbon.container.options.CopyOSGiLibBundleOption has not been recognized.
[main] WARN org.ops4j.pax.exam.spi.DefaultExamSystem - Option org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been recognized.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 199.77 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 54413404e29f 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: 04:52 min
[INFO] Finished at: 2017-11-22T06:10:03+00:00
[INFO] Final Memory: 77M/862M
[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.153-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: 2727677af831dabd42911592427bc11a53f21001 at timestamp: 1511331008377
[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.153-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.153-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.153-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,excludes=**/api/**:**/model/**
[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: 5c501d23-ce1c-44f9-b81b-c5a95d45533d 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/8059f0cc-1ee1-47d7-8a5f-252808b093ef
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/8059f0cc-1ee1-47d7-8a5f-252808b093ef/wso2/default
[2017-11-22 6:10:21,665]  INFO {org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployerUtils updateOSGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default  
osgi> [2017-11-22 06:10:23,921]  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-22 06:10:23,962]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-22 06:10:23,976]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-22 06:10:23,986]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:10:23,997]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-22 06:10:24,009]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-22 06:10:24,018]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-22 06:10:24,038]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-22 06:10:24,053]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-22 06:10:24,312]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:10:24,397]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-22 06:10:24,507]  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-22 06:10:24,515]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-22 06:10:24,518]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-22 06:10:24,520]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-22 06:10:24,529]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-22 06:10:24,648] 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/214804476.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.deployArtifacts(DeploymentEngine.java:282)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.sweep(RepositoryScanner.java:114)
	at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.scan(RepositoryScanner.java:68)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.start(DeploymentEngine.java:121)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent.onAllRequiredCapabilitiesAvailable(DeploymentEngineListenerComponent.java:216)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.lambda$notifySatisfiableComponents$38(StartupComponentManager.java:250)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager$$Lambda$151/361540669.accept(Unknown Source)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.notifySatisfiableComponents(StartupComponentManager.java:236)
	at org.wso2.carbon.kernel.internal.startupresolver.StartupOrderResolver$1.run(StartupOrderResolver.java:204)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:335)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:78)
	... 16 more
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 9. Position: 0 and @ Line: 9. Position: 7. Syntax error in SiddhiQL, missing INTO at 'BarStream'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportMissingToken(DefaultErrorStrategy.java:407)
	at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenInsertion(DefaultErrorStrategy.java:510)
	at org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:474)
	at org.antlr.v4.runtime.Parser.match(Parser.java:229)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query_output(SiddhiQLParser.java:5706)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:322)
	... 17 more

[2017-11-22 06:10:24,696]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:10:24,697]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:10:24,698]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:10:24,700]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:10:24,712]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:10:24,714]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:10:24,743]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:10:24,745]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:10:24,746]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:10:24,747]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:10:24,750]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-22 06:10:24,781]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-22 06:10:24,805]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:10:24,811]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:10:24,818]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:10:24,826]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:10:24,835]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:10:24,840]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]48e1720f
[2017-11-22 06:10:24,844]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:10:24,849]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]1cc074
[2017-11-22 06:10:24,855]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-22 06:10:24,868]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 6d:e0:af:fd:06:14:6a:4a
[2017-11-22 06:10:24,905]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-22 06:10:24,905]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-22 06:10:24,906]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-22 06:10:24,907]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 3.735 sec
[2017-11-22 06:10:29,318]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Running periodic persistence tests with database type h2
[2017-11-22 06:10:29,329]  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-22 06:10:29,347]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:10:29,351]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:10:29,352]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:10:29,353]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:10:29,354]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:10:29,356]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:10:29,365]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:10:29,366]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:10:29,378]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331029371, data=[WSO2, 500], isExpired=false}]
[2017-11-22 06:10:29,883]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331029883, data=[WSO2, 500], isExpired=false}]
[2017-11-22 06:10:30,384]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331030384, data=[WSO2, 500], isExpired=false}]
[2017-11-22 06:10:30,885]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331030884, data=[WSO2, 500], isExpired=false}]
[2017-11-22 06:10:31,385]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331031385, data=[WSO2, 500], isExpired=false}]
[2017-11-22 06:10:31,886]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[2017-11-22 06:11:32,887]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - SiddhiAppPersistence Revisions Found
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testRestore
[2017-11-22 06:11:32,891]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-22 06:12:32,891]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Restarting SiddhiAppPersistence and restoring last saved state
[2017-11-22 06:12:32,893]  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-22 06:12:32,895]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:12:32,896]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:12:32,897]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:12:32,898]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:12:32,900]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Siddhi App SiddhiAppPersistence successfully started and restored to 1511331144508_SiddhiAppPersistence revision
[2017-11-22 06:12:32,901]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331152900, data=[WSO2, 300], isExpired=false}]
[2017-11-22 06:12:33,401]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331153401, data=[WSO2, 300], isExpired=false}]
[2017-11-22 06:12:33,902]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331153901, data=[WSO2, 280], isExpired=false}]
[2017-11-22 06:12:34,402]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331154402, data=[WSO2, 280], isExpired=false}]
[2017-11-22 06:12:34,903]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331154903, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-22 06:12:35,412]  INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-22 06:13:35,436]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-22 06:13:35,445]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-22 06:13:35,457]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-22 06:13:35,464]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-22 06:13:35,481]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-22 06:13:35,487]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:13:35,488]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-22 06:13:35,495]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-22 06:13:35,500]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-22 06:13:35,507]  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.638 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:32 min
[INFO] Finished at: 2017-11-22T06:13:37+00:00
[INFO] Final Memory: 68M/924M
[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.153-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: 2727677af831dabd42911592427bc11a53f21001 at timestamp: 1511331228031
[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,excludes=**/api/**:**/model/**
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ carbon-analytics-osgi-tests ---
[WARNING] While downloading org.apache.commons:commons-io:1.3.2
  This artifact has been relocated to commons-io:commons-io:1.3.2.
  https://issues.sonatype.org/browse/MVNCENTRAL-244


[INFO] 
[INFO] --- maven-paxexam-plugin:1.2.4:generate-depends-file (generate-config) @ carbon-analytics-osgi-tests ---
[INFO] Created: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/classes/META-INF/maven/dependencies.properties
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ carbon-analytics-osgi-tests ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ carbon-analytics-osgi-tests ---
[INFO] No sources to compile
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.3:check (analyze-compile) > :findbugs @ carbon-analytics-osgi-tests >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.3:findbugs (findbugs) @ carbon-analytics-osgi-tests ---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.3:check (analyze-compile) < :findbugs @ carbon-analytics-osgi-tests <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.3:check (analyze-compile) @ carbon-analytics-osgi-tests ---
[INFO] 
[INFO] --- maven-dependency-plugin:2.10:unpack (unpack-distribution) @ carbon-analytics-osgi-tests ---
[INFO] Configured Artifact: org.wso2.carbon.analytics:org.wso2.carbon.analytics.test.distribution:?:zip
[INFO] Unpacking /root/.m2/repository/org/wso2/carbon/analytics/org.wso2.carbon.analytics.test.distribution/2.0.153-SNAPSHOT/org.wso2.carbon.analytics.test.distribution-2.0.153-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: 4650005e-0f18-49f3-9f9f-9b7627693d47 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/d3cbd025-db76-4bf6-85d7-6198edc89a71
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/d3cbd025-db76-4bf6-85d7-6198edc89a71/wso2/default
osgi> [2017-11-22 06:14:03,507]  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-22 06:14:03,565]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-22 06:14:03,625]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-22 06:14:03,641]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:14:03,658]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-22 06:14:03,664]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-22 06:14:03,679]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-22 06:14:03,734]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-22 06:14:04,016]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:14:04,141]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-22 06:14:04,181]  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-22 06:14:04,193]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-22 06:14:04,195]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-22 06:14:04,198]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-22 06:14:04,210]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-22 06:14:04,470] 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$182/371573954.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$143/652368271.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:5706)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:322)
	... 17 more

[2017-11-22 06:14:04,555]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:14:04,558]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:14:04,560]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:14:04,562]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:14:04,582]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:14:04,584]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:14:04,687]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:14:04,690]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:14:04,691]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:14:04,696]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:14:04,700]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-22 06:14:04,705]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-22 06:14:04,753]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:14:04,778]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:14:04,791]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:14:04,801]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:14:04,812]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:14:04,819]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]193ba761
[2017-11-22 06:14:04,827]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:14:04,835]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]c1dc80
[2017-11-22 06:14:04,850]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-22 06:14:04,880]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 25:b0:f4:21:20:3c:56:c3
[2017-11-22 06:14:04,976]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-22 06:14:04,977]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-22 06:14:04,980]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-22 06:14:04,982]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 6.892 sec
[2017-11-22 06:14:08,490]  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-22 06:14:08,508]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:14:08,510]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:14:08,511]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:14:08,513]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:14:08,518]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:14:08,520]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:14:08,535]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:14:08,537]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:14:08,559]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331248542, data=[WSO2, 500], isExpired=false}]
[2017-11-22 06:14:09,063]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331249063, data=[WSO2, 500], isExpired=false}]
[2017-11-22 06:14:09,564]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331249563, data=[WSO2, 500], isExpired=false}]
[2017-11-22 06:14:10,064]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331250064, data=[WSO2, 500], isExpired=false}]
[2017-11-22 06:14:10,565]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331250565, data=[WSO2, 500], isExpired=false}]
[2017-11-22 06:14:11,070]  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-22 06:15:11,075]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-22 06:16:11,075]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Shutting Down SiddhiApp
[2017-11-22 06:16:11,077]  INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Creating New SiddhiApp with Same Name
[2017-11-22 06:16:11,077]  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-22 06:16:11,081]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:16:11,082]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:16:11,083]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:16:11,084]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:16:11,089]  INFO {org.wso2.carbon.stream.processor.core.persistence.FileSystemPersistenceStore} - State loaded for SiddhiAppPersistence revision 1511331364182_SiddhiAppPersistence from the file system.
[2017-11-22 06:16:11,091]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331371091, data=[WSO2, 300], isExpired=false}]
[2017-11-22 06:16:11,591]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331371591, data=[WSO2, 300], isExpired=false}]
[2017-11-22 06:16:12,092]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331372092, data=[WSO2, 280], isExpired=false}]
[2017-11-22 06:16:12,593]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331372592, data=[WSO2, 280], isExpired=false}]
[2017-11-22 06:16:13,093]  INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511331373093, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testFileSystemPeriodicPersistence
[2017-11-22 06:16:14,596]  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-22 06:17:16,665]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-22 06:17:16,706]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-22 06:17:16,734]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-22 06:17:16,740]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-22 06:17:16,796]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-22 06:17:16,813]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:16,814]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-22 06:17:16,828]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-22 06:17:16,834]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-22 06:17:16,849]  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: fec15ce9-3b6e-4b7e-a417-5bf6991c14cb 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/5a074a1a-13f7-4ace-b85d-2573d5629611
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/5a074a1a-13f7-4ace-b85d-2573d5629611/wso2/default
osgi> [2017-11-22 06:17:24,662]  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-22 06:17:24,710]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-22 06:17:24,743]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-22 06:17:24,755]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:24,768]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-22 06:17:24,773]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-22 06:17:24,787]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-22 06:17:24,823]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-22 06:17:24,827]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-22 06:17:25,137]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-22 06:17:25,173]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-22 06:17:25,185]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:17:25,200]  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-22 06:17:25,214]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-22 06:17:25,368]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-22 06:17:25,486]  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-22 06:17:25,496]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-22 06:17:25,499]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-22 06:17:25,502]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-22 06:17:25,510]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-22 06:17:25,738] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppDeploymentException: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:92)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploy(StreamProcessorDeployer.java:159)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$213/1230582775.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/778156544.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:5706)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:322)
	... 17 more

[2017-11-22 06:17:25,832]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:25,833]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:25,834]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:25,836]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:25,852]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:25,854]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:25,925]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:25,926]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:25,927]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:25,928]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:25,931]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-22 06:17:25,970]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-22 06:17:25,989]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:17:25,994]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:17:25,999]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:17:26,004]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: org.wso2.carbon.stream.processo[email protected]
[2017-11-22 06:17:26,011]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:17:26,016]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]2945b5d5
[2017-11-22 06:17:26,021]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:17:26,026]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]504c92
[2017-11-22 06:17:26,036]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-22 06:17:26,057]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 95:22:c8:2e:4f:ad:a6:19
[2017-11-22 06:17:26,129]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-22 06:17:26,129]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-22 06:17:26,130]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-22 06:17:26,131]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 6.907 sec
[2017-11-22 06:17:26,133]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App through REST API
[2017-11-22 06:17:26,319]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:26,321]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:26,321]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:26,323]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:26,324]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:26,325]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:26,326]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:26,327]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:26,329]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp1 saved in the filesystem
[2017-11-22 06:17:30,990]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:30,993]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:30,994]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:30,995]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:30,995]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp1
[2017-11-22 06:17:30,999]  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-22 06:17:36,381]  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-22 06:17:36,399]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying invalid Siddhi App through REST API
[2017-11-22 06:17:36,411] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Exception occurred when validating Siddhi App org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:335)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.validateAndSave(StreamProcessorService.java:301)
	at org.wso2.carbon.stream.processor.core.impl.SiddhiAppsApiServiceImpl.siddhiAppsPost(SiddhiAppsApiServiceImpl.java:64)
	at org.wso2.carbon.stream.processor.core.api.SiddhiAppsApi.siddhiAppsPost(SiddhiAppsApi.java:72)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invokeResource(HttpMethodInfo.java:187)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:143)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(MSF4JMessageProcessor.java:248)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.lambda$receive$73(MSF4JMessageProcessor.java:160)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor$$Lambda$247/1301796033.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.wso2.siddhi.query.compiler.exception.SiddhiParserException: Error between @ Line: 8. Position: 0 and @ Line: 8. Position: 0. Syntax error in SiddhiQL, no viable alternative at input '<EOF>'.
	at org.wso2.siddhi.query.compiler.internal.SiddhiErrorListener.syntaxError(SiddhiErrorListener.java:36)
	at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
	at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportNoViableAlternative(DefaultErrorStrategy.java:308)
	at org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:145)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query_output(SiddhiQLParser.java:5805)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:322)
	... 15 more

[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testSiddhiAPPDeploymentWithInvalidContentType
[2017-11-22 06:17:36,416]  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-22 06:17:36,432]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying Siddhi App without request body through REST API
[2017-11-22 06:17:36,448] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Exception occurred when validating Siddhi App org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:335)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.validateAndSave(StreamProcessorService.java:301)
	at org.wso2.carbon.stream.processor.core.impl.SiddhiAppsApiServiceImpl.siddhiAppsPost(SiddhiAppsApiServiceImpl.java:64)
	at org.wso2.carbon.stream.processor.core.api.SiddhiAppsApi.siddhiAppsPost(SiddhiAppsApi.java:72)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invokeResource(HttpMethodInfo.java:187)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:143)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(MSF4JMessageProcessor.java:248)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.lambda$receive$73(MSF4JMessageProcessor.java:160)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor$$Lambda$247/1301796033.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-22 06:17:36,465]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App which does not exists through REST API
[2017-11-22 06:17:36,480]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:36,482]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:36,482]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:36,484]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:36,485]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:36,487]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:36,487]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:36,489]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:36,489]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp3 saved in the filesystem
[2017-11-22 06:17:41,011]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:41,013]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:41,014]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:41,015]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:41,015]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp3
[2017-11-22 06:17:41,016]  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-22 06:17:46,494]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App whih is already existing in server through REST API
[2017-11-22 06:17:46,505]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:46,506]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:46,507]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:46,507]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:46,508]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp3 saved in the filesystem
[2017-11-22 06:17:51,023]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App File SiddhiApp3 undeployed successfully.
[2017-11-22 06:17:51,031]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:51,033]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:51,034]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:17:51,035]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:17:51,035]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp3
[2017-11-22 06:17:51,036]  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-22 06:17:56,512]  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-22 06:17:56,526]  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-22 06:17:56,534]  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-22 06:17:56,583]  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-22 06:17:56,595]  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-22 06:17:56,606]  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-22 06:17:56,616]  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-22 06:17:56,623]  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-22 06:17:56,636]  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-22 06:17:56,641]  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-22 06:17:56,645]  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-22 06:17:56,651]  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-22 06:17:56,656]  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-22 06:17:58,674]  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-22 06:17:58,679]  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-22 06:18:00,684]  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-22 06:18:00,688]  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-22 06:18:00,697]  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-22 06:18:00,702]  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-22 06:18:00,705] ERROR {org.wso2.carbon.stream.processor.core.impl.SiddhiAppsApiServiceImpl} - Exception occurred when restoring the state for Siddhi App : SiddhiApp1 java.lang.NullPointerException
	at org.wso2.siddhi.core.util.snapshot.SnapshotService.restore(SnapshotService.java:128)
	at org.wso2.siddhi.core.util.persistence.PersistenceService.restoreRevision(PersistenceService.java:69)
	at org.wso2.siddhi.core.SiddhiAppRuntime.restoreRevision(SiddhiAppRuntime.java:478)
	at org.wso2.carbon.stream.processor.core.impl.SiddhiAppsApiServiceImpl.siddhiAppsAppNameRestorePost(SiddhiAppsApiServiceImpl.java:267)
	at org.wso2.carbon.stream.processor.core.api.SiddhiAppsApi.siddhiAppsAppNameRestorePost(SiddhiAppsApi.java:194)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invokeResource(HttpMethodInfo.java:187)
	at org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:143)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(MSF4JMessageProcessor.java:248)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor.lambda$receive$73(MSF4JMessageProcessor.java:160)
	at org.wso2.msf4j.internal.MSF4JMessageProcessor$$Lambda$247/1301796033.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-22 06:18:00,708]  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-22 06:18:00,714]  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-22 06:18:00,718]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting valid Siddhi App which exists in server through REST API
[2017-11-22 06:18:00,720]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - SiddhiApp1 is deleted from the file system
[2017-11-22 06:18:01,039]  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-22 06:18:06,725]  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-22 06:18:06,731]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting inactive Siddhi App which exists in server through REST API
[2017-11-22 06:18:06,733]  INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - TestInvalidSiddhiApp is deleted from the file system
[2017-11-22 06:18:11,041]  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-22 06:18:12,736]  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-22 06:18:12,764]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-22 06:18:12,774]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-22 06:18:12,791]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-22 06:18:12,795]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-22 06:18:12,808]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-22 06:18:12,813]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-22 06:18:12,816]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:12,816]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-22 06:18:12,822]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-22 06:18:12,826]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-22 06:18:12,830]  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: ef3f3c07-9ea6-4e0a-adc0-1dd3af5a4774 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/1650dcd1-e68f-4b11-80c7-dde1382c8b05
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/1650dcd1-e68f-4b11-80c7-dde1382c8b05/wso2/default
osgi> [2017-11-22 06:18:17,991]  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-22 06:18:18,035]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-22 06:18:18,064]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-22 06:18:18,074]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:18,084]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-22 06:18:18,088]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-22 06:18:18,096]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-22 06:18:18,125]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-22 06:18:18,131]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-22 06:18:18,426]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:18,512]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-22 06:18:18,558]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-22 06:18:18,617]  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-22 06:18:18,626]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-22 06:18:18,633]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-22 06:18:18,768]  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-22 06:18:18,778]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-22 06:18:18,781]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-22 06:18:18,783]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-22 06:18:18,792]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-22 06:18:18,979] ERROR {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppDeploymentException: org.wso2.carbon.stream.processor.core.internal.exception.SiddhiAppConfigurationException: Exception occurred when retrieving Siddhi App Name 
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploySiddhiQLFile(StreamProcessorDeployer.java:92)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer.deploy(StreamProcessorDeployer.java:159)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.lambda$deployArtifacts$0(DeploymentEngine.java:291)
	at org.wso2.carbon.deployment.engine.internal.DeploymentEngine$$Lambda$213/626180700.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/1798714255.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:5706)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:322)
	... 17 more

[2017-11-22 06:18:19,053]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,055]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,056]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,057]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,075]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,076]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,145]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,147]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,147]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,149]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,152]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-22 06:18:19,193]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-22 06:18:19,212]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:19,217]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:19,222]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:19,228]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:19,234]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:19,239]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi[email protected]
[2017-11-22 06:18:19,244]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:19,249]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]24741b
[2017-11-22 06:18:19,260]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-22 06:18:19,283]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: b6:4b:86:83:9d:0d:a3:05
[2017-11-22 06:18:19,353]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-22 06:18:19,353]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-22 06:18:19,355]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-22 06:18:19,356]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.087 sec
[2017-11-22 06:18:19,474]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,476]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,477]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,479]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,480]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,482]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,487]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,488]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,489]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,491]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,492]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,493]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,494]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,496]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,497]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,499]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,500]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,502]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,502]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,504]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,520]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,521]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,522]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,523]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,524]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,525]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,525]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,527]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,527]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,528]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,529]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,530]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,530]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,532]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:19,532]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,533]  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-22 06:18:19,554]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-22 06:18:19,575]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-22 06:18:19,591]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-22 06:18:19,595]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-22 06:18:19,607]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-22 06:18:19,610]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-22 06:18:19,616]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:19,616]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-22 06:18:19,625]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-22 06:18:19,630]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-22 06:18:19,637]  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: 5802d4a7-e867-40b8-98cb-e9b774bdc7db 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/0656c211-59d3-42c7-a7f2-ad73605b1147
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/0656c211-59d3-42c7-a7f2-ad73605b1147/wso2/default
osgi> [2017-11-22 06:18:24,952]  WARN {org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager} - Adding a required OSGi service capability to component, but specified startup component is not available, component-name: carbon-transport-mgt and capability-name: org.wso2.carbon.deployment.engine.DeploymentService.
[2017-11-22 06:18:24,995]  INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-22 06:18:25,025]  INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-22 06:18:25,035]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:25,045]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-22 06:18:25,049]  INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server 
[2017-11-22 06:18:25,058]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-22 06:18:25,080]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-22 06:18:25,096]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-22 06:18:25,406]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-22 06:18:25,419]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:25,455]  INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-22 06:18:25,573]  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-22 06:18:25,584]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-22 06:18:25,592]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-22 06:18:25,713]  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-22 06:18:25,724]  INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-22 06:18:25,732]  INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-22 06:18:25,735]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-22 06:18:25,745]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has  started.
[2017-11-22 06:18:25,969] 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/813048759.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/6039709.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:5706)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.query(SiddhiQLParser.java:2652)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.execution_element(SiddhiQLParser.java:505)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.siddhi_app(SiddhiQLParser.java:439)
	at org.wso2.siddhi.query.compiler.SiddhiQLParser.parse(SiddhiQLParser.java:173)
	at org.wso2.siddhi.query.compiler.SiddhiCompiler.parse(SiddhiCompiler.java:69)
	at org.wso2.carbon.stream.processor.core.internal.StreamProcessorService.getSiddhiAppName(StreamProcessorService.java:322)
	... 17 more

[2017-11-22 06:18:26,046]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:26,048]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:26,048]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:26,050]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:26,067]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:26,069]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:26,141]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:26,143]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:26,143]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:26,145]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-22 06:18:26,148]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-22 06:18:26,188]  INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-22 06:18:26,215]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:26,223]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:26,228]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:26,234]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:26,240]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:26,245]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]e99c7e3
[2017-11-22 06:18:26,250]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-22 06:18:26,255]  INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]46a9a4
[2017-11-22 06:18:26,265]  INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-22 06:18:26,287]  WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 8c:c4:b7:5c:9b:21:9d:cf
[2017-11-22 06:18:26,358]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-22 06:18:26,358]  INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host  0.0.0.0 and port 9090
[2017-11-22 06:18:26,359]  INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-22 06:18:26,361]  INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 5.139 sec
[2017-11-22 06:18:26,365]  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-22 06:18:36,630]  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-22 06:18:36,645]  INFO {org.wso2.carbon.analytics.test.osgi.SiddhiMetricsAPITestcase} - Retrieving active Siddhi App through REST API
[2017-11-22 06:18:36,674]  INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-22 06:18:36,684]  INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-22 06:18:36,706]  INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-22 06:18:36,712]  INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-22 06:18:36,723]  INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-22 06:18:36,726]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-22 06:18:36,730]  INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-22 06:18:36,730]  INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-22 06:18:36,738]  INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-22 06:18:36,743]  INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-22 06:18:36,746]  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: 280.897 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.153-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.153-SNAPSHOT.jar to /root/.m2/repository/org/wso2/carbon/analytics/carbon-analytics-osgi-tests/2.0.153-SNAPSHOT/carbon-analytics-osgi-tests-2.0.153-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.153-SNAPSHOT/carbon-analytics-osgi-tests-2.0.153-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:53 min
[INFO] Finished at: 2017-11-22T06:18:38+00:00
[INFO] Final Memory: 100M/883M
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] step
[JaCoCo plugin] Collecting JaCoCo coverage data...
[JaCoCo plugin] **/**.exec;**/classes;**/src/main/java; locations are configured
[JaCoCo plugin] Number of found exec files for pattern **/**.exec: 16
[JaCoCo plugin] Saving matched execfiles:  /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.business.rules.core/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.business.rules.web/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.das.jobmanager.core/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.database.query.manager/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.editor.log.appender/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.event.simulator.core/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.editor.core/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.metrics.core/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.sp.distributed.resource.core/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.status.dashboard.core/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.status.dashboard.web/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.common/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.core/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.statistics/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[JaCoCo plugin] Saving matched class directories for class-pattern: **/classes:  /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.business.rules.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.business.rules.web/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.das.jobmanager.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.database.query.manager/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.editor.log.appender/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.event.simulator.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.editor.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.metrics.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.sp.distributed.resource.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.status.dashboard.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.status.dashboard.web/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.common/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.core/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.statistics/target/classes /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/classes
[JaCoCo plugin] Saving matched source directories for source-pattern: **/src/main/java:  /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.business.rules.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.das.jobmanager.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.database.query.manager/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.editor.log.appender/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.event.simulator.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.editor.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.siddhi.metrics.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.sp.distributed.resource.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.status.dashboard.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.common/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.core/src/main/java /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/org.wso2.carbon.stream.processor.statistics/src/main/java
[JaCoCo plugin] Loading inclusions files..
[JaCoCo plugin] inclusions: []
[JaCoCo plugin] exclusions: [**/api/**, **/model/**]
[JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=0, maxClass=0, minMethod=0, maxMethod=0, minLine=0, maxLine=0, minBranch=0, maxBranch=0, minInstruction=0, maxInstruction=0, minComplexity=0, maxComplexity=0]
[JaCoCo plugin] Publishing the results..
[JaCoCo plugin] Loading packages..
[JaCoCo plugin] Done.
[JaCoCo plugin] Overall coverage: class: 35, method: 24, line: 18, branch: 15, instruction: 16
[Pipeline] step
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS