ive test with exception ORA-00923: FROM keyword not found where expected
[2017-11-21 14:15:48,844] 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-21 14:15:48,918] 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-21 14:15:48,931] 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-21 14:15:49,005] 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-21 14:15:49,006] 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-21 14:15:49,078] 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-21 14:15:49,106] 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-21 14:15:49,166] 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-21 14:15:49,179] 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-21 14:15:49,240] 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-21 14:15:55,317] INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Restarting SiddhiAppPersistence and restoring last saved state
[2017-11-21 14:15:55,319] 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-21 14:15:55,322] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:15:55,326] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:15:55,328] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:15:55,329] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:15:55,431] WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected
[2017-11-21 14:15:55,519] 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-21 14:15:56,193] INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Siddhi App SiddhiAppPersistence successfully started and restored to 1511273747081_SiddhiAppPersistence revision
[2017-11-21 14:15:56,193] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273756193, data=[WSO2, 300], isExpired=false}]
[2017-11-21 14:15:56,694] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273756694, data=[WSO2, 300], isExpired=false}]
[2017-11-21 14:15:57,195] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273757194, data=[WSO2, 280], isExpired=false}]
[2017-11-21 14:15:57,696] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273757696, data=[WSO2, 280], isExpired=false}]
[2017-11-21 14:15:58,197] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273758196, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-21 14:15:58,794] WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected
[2017-11-21 14:15:59,156] INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-21 14:16:47,155] 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-21 14:16:47,182] 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-21 14:16:47,243] WARN {com.zaxxer.hikari.pool.PoolElf} - HikariPool-0 - Connection [email protected] failed alive test with exception ORA-00923: FROM keyword not found where expected
[2017-11-21 14:16:47,283] 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-21 14:16:47,344] 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-21 14:16:47,370] 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-21 14:16:47,430] 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-21 14:16:47,457] 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-21 14:16:47,504] 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-21 14:16:47,558] 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-21 14:16:47,605] 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-21 14:16:47,645] 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-21 14:16:47,691] 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-21 14:16:47,718] 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-21 14:16:47,765] 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-21 14:16:47,805] 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-21 14:16:47,852] 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-21 14:16:47,893] 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-21 14:16:47,926] 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-21 14:16:47,981] 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-21 14:16:48,013] 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-21 14:16:48,054] 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-21 14:16:48,101] 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-21 14:16:48,141] 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-21 14:16:48,201] 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-21 14:16:48,228] 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-21 14:16:48,288] 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-21 14:16:48,315] 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-21 14:16:48,375] 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-21 14:16:48,388] 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-21 14:16:48,475] 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-21 14:16:48,475] 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-21 14:16:48,563] 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-21 14:16:48,575] 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-21 14:16:48,649] 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-21 14:16:48,663] 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-21 14:16:48,722] 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-21 14:16:48,735] 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-21 14:16:48,809] 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-21 14:16:48,835] 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-21 14:16:48,895] 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-21 14:16:48,921] 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-21 14:16:48,982] 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-21 14:16:49,008] 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-21 14:16:49,082] 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-21 14:16:49,094] 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-21 14:16:49,169] 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-21 14:16:49,181] 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-21 14:16:59,267] INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-21 14:16:59,331] INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-21 14:16:59,375] INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-21 14:16:59,380] INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-21 14:16:59,422] INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-21 14:16:59,445] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:16:59,446] INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-21 14:16:59,475] INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-21 14:16:59,479] INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-21 14:16:59,492] 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: 201.732 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 6e3e6876b1c3 after 0 ms
[INFO]
[INFO] --- docker-maven-plugin:0.20.0:remove (stop-docker-for-oracle) @ carbon-analytics-osgi-tests ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.8:report (jacoco-site) @ carbon-analytics-osgi-tests ---
[INFO] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[INFO] Analyzed bundle 'WSO2 Carbon Analytics - OSGi Tests' with 0 classes
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (default) @ carbon-analytics-osgi-tests ---
[INFO] Executing tasks
main:
[jacoco:merge] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/jacoco.exec
[jacoco:merge] Writing merged execution data to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Loading execution data file /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/coverage-reports/jacoco.exec
[jacoco:report] Writing bundle 'Stream processor core OSGi Tests' with 82 classes
[INFO] Executed tasks
[INFO]
[INFO] --- maven-failsafe-plugin:2.18.1:verify (verify-for-oracle) @ carbon-analytics-osgi-tests ---
[INFO] Failsafe report directory: /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/failsafe-reports
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:15 min
[INFO] Finished at: 2017-11-21T14:17:02+00:00
[INFO] Final Memory: 79M/980M
[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: 1511273829571
[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: afa4fadb-1d83-4bae-b346-ba4e21ae62a8 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/3625b6d8-742b-4d71-ad54-80e107851fd4
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/3625b6d8-742b-4d71-ad54-80e107851fd4/wso2/default
[2017-11-21 14:17:28,595] INFO {org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployerUtils updateOSGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default
osgi> [2017-11-21 14:17:35,402] 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-21 14:17:35,519] INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-21 14:17:35,570] INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-21 14:17:35,588] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:17:35,609] INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-21 14:17:35,621] INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server
[2017-11-21 14:17:35,666] INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-21 14:17:35,729] INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-21 14:17:35,761] INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-21 14:17:36,523] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:17:36,759] INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-21 14:17:36,892] 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-21 14:17:36,912] INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-21 14:17:36,915] INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-21 14:17:36,917] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-21 14:17:36,942] INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has started.
[2017-11-21 14:17:37,194] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:17:37,196] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:17:37,197] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:17:37,199] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:17:37,213] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:17:37,215] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:17:37,262] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:17:37,267] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:17:37,268] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:17:37,270] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:17:37,272] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-21 14:17:37,318] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-21 14:17:37,331] 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$216/939661714.accept(Unknown Source)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.deployArtifacts(DeploymentEngine.java:282)
at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.sweep(RepositoryScanner.java:114)
at org.wso2.carbon.deployment.engine.internal.RepositoryScanner.scan(RepositoryScanner.java:68)
at org.wso2.carbon.deployment.engine.internal.DeploymentEngine.start(DeploymentEngine.java:121)
at org.wso2.carbon.deployment.engine.internal.DeploymentEngineListenerComponent.onAllRequiredCapabilitiesAvailable(DeploymentEngineListenerComponent.java:216)
at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager.lambda$notifySatisfiableComponents$38(StartupComponentManager.java:250)
at org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager$$Lambda$147/1748326647.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-21 14:17:37,456] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:17:37,492] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:17:37,511] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:17:37,532] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:17:37,558] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:17:37,569] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]6e9f78
[2017-11-21 14:17:37,587] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:17:37,598] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]5ecc62
[2017-11-21 14:17:37,624] INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-21 14:17:37,639] WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 4a:89:44:9d:fc:8e:d6:01
[2017-11-21 14:17:37,702] INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-21 14:17:37,702] INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host 0.0.0.0 and port 9090
[2017-11-21 14:17:37,705] INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-21 14:17:37,706] INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 10.394 sec
[2017-11-21 14:17:41,510] INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Running periodic persistence tests with database type h2
[2017-11-21 14:17:41,519] 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-21 14:17:41,573] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:17:41,575] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:17:41,576] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:17:41,577] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:17:41,579] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:17:41,580] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:17:41,589] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:17:41,590] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:17:41,603] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273861598, data=[WSO2, 500], isExpired=false}]
[2017-11-21 14:17:42,117] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273862117, data=[WSO2, 500], isExpired=false}]
[2017-11-21 14:17:42,618] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273862617, data=[WSO2, 500], isExpired=false}]
[2017-11-21 14:17:43,118] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273863118, data=[WSO2, 500], isExpired=false}]
[2017-11-21 14:17:43,619] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273863619, data=[WSO2, 500], isExpired=false}]
[2017-11-21 14:17:44,120] INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for first time interval for state persistence
[2017-11-21 14:18:45,121] INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - SiddhiAppPersistence Revisions Found
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testRestore
[2017-11-21 14:18:45,126] INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-21 14:19:45,127] INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Restarting SiddhiAppPersistence and restoring last saved state
[2017-11-21 14:19:45,128] 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-21 14:19:45,131] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:19:45,133] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:19:45,134] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:19:45,135] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:19:45,139] INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Siddhi App SiddhiAppPersistence successfully started and restored to 1511273976889_SiddhiAppPersistence revision
[2017-11-21 14:19:45,139] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273985139, data=[WSO2, 300], isExpired=false}]
[2017-11-21 14:19:45,640] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273985640, data=[WSO2, 300], isExpired=false}]
[2017-11-21 14:19:46,140] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273986140, data=[WSO2, 280], isExpired=false}]
[2017-11-21 14:19:46,641] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273986641, data=[WSO2, 280], isExpired=false}]
[2017-11-21 14:19:47,142] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511273987141, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testPeriodicDBSystemPersistence
[2017-11-21 14:19:47,652] INFO {org.wso2.carbon.analytics.test.osgi.DBPersistenceStoreTestIT} - Waiting for third time interval for state persistence
[2017-11-21 14:20:47,682] INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-21 14:20:47,692] INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-21 14:20:47,711] INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-21 14:20:47,715] INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-21 14:20:47,727] INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-21 14:20:47,733] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:20:47,733] INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-21 14:20:47,740] INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-21 14:20:47,745] INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-21 14:20:47,750] 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: 207.001 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:44 min
[INFO] Finished at: 2017-11-21T14:20:49+00:00
[INFO] Final Memory: 70M/1002M
[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: 1511274060794
[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: 009da16e-143b-4541-8569-e74d72940f2e 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/1694e0bd-23fb-4636-abc7-0e16665b96f2
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/1694e0bd-23fb-4636-abc7-0e16665b96f2/wso2/default
osgi> [2017-11-21 14:21:19,822] 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-21 14:21:19,873] INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-21 14:21:19,908] INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-21 14:21:19,922] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:21:19,937] INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-21 14:21:19,943] INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server
[2017-11-21 14:21:19,956] INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-21 14:21:20,000] INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-21 14:21:20,332] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:21:20,481] INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-21 14:21:20,525] 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-21 14:21:20,537] INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-21 14:21:20,541] INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-21 14:21:20,544] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-21 14:21:20,561] INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has started.
[2017-11-21 14:21:20,910] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:21:20,912] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:21:20,914] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:21:20,916] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:21:20,940] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:21:20,942] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:21:21,035] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:21:21,038] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:21:21,038] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:21:21,040] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:21:21,044] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-21 14:21:21,049] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-21 14:21:21,060] 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$184/1345357438.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/843186172.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-21 14:21:21,097] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:21:21,105] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:21:21,113] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:21:21,121] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:21:21,133] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:21:21,141] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]593236eb
[2017-11-21 14:21:21,147] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:21:21,155] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]fc69ce
[2017-11-21 14:21:21,177] INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-21 14:21:21,211] WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: ab:56:ab:e0:7c:1c:01:a3
[2017-11-21 14:21:21,327] INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-21 14:21:21,327] INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host 0.0.0.0 and port 9090
[2017-11-21 14:21:21,328] INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-21 14:21:21,329] INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 8.547 sec
[2017-11-21 14:21:24,766] 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-21 14:21:24,799] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:21:24,801] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:21:24,802] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:21:24,804] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:21:24,806] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:21:24,808] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:21:24,819] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:21:24,821] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:21:24,840] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511274084831, data=[WSO2, 500], isExpired=false}]
[2017-11-21 14:21:25,344] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511274085344, data=[WSO2, 500], isExpired=false}]
[2017-11-21 14:21:25,845] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511274085844, data=[WSO2, 500], isExpired=false}]
[2017-11-21 14:21:26,345] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511274086345, data=[WSO2, 500], isExpired=false}]
[2017-11-21 14:21:26,846] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511274086845, data=[WSO2, 500], isExpired=false}]
[2017-11-21 14:21:27,351] 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-21 14:22:27,356] INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Waiting for second time interval for state persistence
[2017-11-21 14:23:27,357] INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Shutting Down SiddhiApp
[2017-11-21 14:23:27,359] INFO {org.wso2.carbon.analytics.test.osgi.FileSystemPersistenceStoreTestIT} - Creating New SiddhiApp with Same Name
[2017-11-21 14:23:27,359] 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-21 14:23:27,367] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:23:27,368] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:23:27,369] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:23:27,371] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:23:27,379] INFO {org.wso2.carbon.stream.processor.core.persistence.FileSystemPersistenceStore} - State loaded for SiddhiAppPersistence revision 1511274200526_SiddhiAppPersistence from the file system.
[2017-11-21 14:23:27,382] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511274207381, data=[WSO2, 300], isExpired=false}]
[2017-11-21 14:23:27,882] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511274207882, data=[WSO2, 300], isExpired=false}]
[2017-11-21 14:23:28,383] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511274208383, data=[WSO2, 280], isExpired=false}]
[2017-11-21 14:23:28,884] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511274208883, data=[WSO2, 280], isExpired=false}]
[2017-11-21 14:23:29,384] INFO {org.wso2.siddhi.core.util.EventPrinter} - [Event{timestamp=1511274209384, data=[WSO2, 280], isExpired=false}]
[main] INFO org.ops4j.pax.exam.testng.listener.PaxExam - running testFileSystemPeriodicPersistence
[2017-11-21 14:23:30,891] 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-21 14:24:32,927] INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-21 14:24:32,937] INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-21 14:24:32,953] INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-21 14:24:32,960] INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-21 14:24:32,979] INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-21 14:24:32,986] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:32,987] INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-21 14:24:32,996] INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-21 14:24:33,002] INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-21 14:24:33,008] 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: a8ff3ecd-f8f8-4490-9298-211c079e6b19 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/523c8527-1c11-48c5-bfc2-f14cb7f25966
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/523c8527-1c11-48c5-bfc2-f14cb7f25966/wso2/default
osgi> [2017-11-21 14:24:40,828] 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-21 14:24:40,880] INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-21 14:24:40,929] INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-21 14:24:40,943] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:40,958] INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-21 14:24:40,964] INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server
[2017-11-21 14:24:40,977] INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-21 14:24:41,037] INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-21 14:24:41,053] INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-21 14:24:41,431] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:24:41,600] INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-21 14:24:41,761] INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-21 14:24:41,808] 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-21 14:24:41,851] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-21 14:24:41,862] INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-21 14:24:42,007] 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-21 14:24:42,023] INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-21 14:24:42,028] INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-21 14:24:42,033] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-21 14:24:42,048] INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has started.
[2017-11-21 14:24:42,441] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:42,443] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:42,444] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:42,446] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:42,476] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:42,478] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:42,625] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:42,627] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:42,628] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:42,630] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:42,633] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-21 14:24:42,694] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-21 14:24:42,706] 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$212/1902740484.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/72278015.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-21 14:24:42,739] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:24:42,747] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:24:42,757] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:24:42,766] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:24:42,782] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:24:42,790] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]48a55020
[2017-11-21 14:24:42,795] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:24:42,802] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]41a6b9
[2017-11-21 14:24:42,816] INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-21 14:24:42,847] WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: 9b:db:44:ae:ae:4f:b5:dd
[2017-11-21 14:24:42,949] INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-21 14:24:42,949] INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host 0.0.0.0 and port 9090
[2017-11-21 14:24:42,950] INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-21 14:24:42,951] INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 8.232 sec
[2017-11-21 14:24:42,953] INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App through REST API
[2017-11-21 14:24:43,202] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:43,206] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:43,209] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:43,212] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:43,228] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:43,230] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:43,244] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:43,255] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:43,258] INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp1 saved in the filesystem
[2017-11-21 14:24:47,730] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:47,732] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:47,733] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:47,735] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:47,735] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp1
[2017-11-21 14:24:47,737] 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-21 14:24:53,345] 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-21 14:24:53,364] INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying invalid Siddhi App through REST API
[2017-11-21 14:24:53,383] 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$246/310685301.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-21 14:24:53,405] 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-21 14:24:53,414] INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying Siddhi App without request body through REST API
[2017-11-21 14:24:53,426] 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$246/310685301.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-21 14:24:53,432] INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App which does not exists through REST API
[2017-11-21 14:24:53,454] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:53,456] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:53,457] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:53,458] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:53,459] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:53,462] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:53,463] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:53,464] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:53,464] INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp3 saved in the filesystem
[2017-11-21 14:24:57,748] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:57,749] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:57,750] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:24:57,751] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:24:57,752] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp3
[2017-11-21 14:24:57,752] 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-21 14:25:03,469] INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deploying valid Siddhi App whih is already existing in server through REST API
[2017-11-21 14:25:03,487] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:03,488] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:03,489] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:03,490] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:03,490] INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - Siddhi App: SiddhiApp3 saved in the filesystem
[2017-11-21 14:25:07,757] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App File SiddhiApp3 undeployed successfully.
[2017-11-21 14:25:07,764] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:07,765] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:07,766] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:07,766] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:07,767] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of SiddhiApp3
[2017-11-21 14:25:07,767] 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-21 14:25:13,497] 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-21 14:25:13,509] 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-21 14:25:13,515] 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-21 14:25:13,569] 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-21 14:25:13,574] 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-21 14:25:13,582] 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-21 14:25:13,589] 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-21 14:25:13,606] 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-21 14:25:13,612] 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-21 14:25:13,616] 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-21 14:25:13,620] 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-21 14:25:13,628] 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-21 14:25:13,638] 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-21 14:25:15,651] 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-21 14:25:15,658] 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-21 14:25:17,662] 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-21 14:25:17,667] 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-21 14:25:17,678] 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-21 14:25:17,684] 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-21 14:25:17,687] 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$246/310685301.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-21 14:25:17,691] 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-21 14:25:17,696] 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-21 14:25:17,700] INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting valid Siddhi App which exists in server through REST API
[2017-11-21 14:25:17,701] INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - SiddhiApp1 is deleted from the file system
[2017-11-21 14:25:17,771] 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-21 14:25:23,707] 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-21 14:25:23,713] INFO {org.wso2.carbon.analytics.test.osgi.SiddhiAsAPITestcase} - Deleting inactive Siddhi App which exists in server through REST API
[2017-11-21 14:25:23,715] INFO {org.wso2.carbon.stream.processor.core.internal.util.SiddhiAppFilesystemInvoker} - TestInvalidSiddhiApp is deleted from the file system
[2017-11-21 14:25:27,772] 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-21 14:25:29,719] 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-21 14:25:29,762] INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-21 14:25:29,775] INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-21 14:25:29,795] INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-21 14:25:29,798] INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-21 14:25:29,819] INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-21 14:25:29,822] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-21 14:25:29,825] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:29,825] INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-21 14:25:29,832] INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-21 14:25:29,837] INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-21 14:25:29,842] 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: 7b557df3-74d6-4c96-919b-3743041c8cb3 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/aef4ab05-1faa-430a-9558-7b57e71bd32f
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/aef4ab05-1faa-430a-9558-7b57e71bd32f/wso2/default
osgi> [2017-11-21 14:25:37,730] 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-21 14:25:37,788] INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-21 14:25:37,836] INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-21 14:25:37,846] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:37,857] INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-21 14:25:37,862] INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server
[2017-11-21 14:25:37,874] INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-21 14:25:37,925] INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-21 14:25:37,926] INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-21 14:25:38,324] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:38,466] INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-21 14:25:38,604] INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-21 14:25:38,715] 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-21 14:25:38,755] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-21 14:25:38,764] INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-21 14:25:38,903] 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-21 14:25:38,916] INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-21 14:25:38,920] INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-21 14:25:38,924] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-21 14:25:38,936] INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has started.
[2017-11-21 14:25:39,340] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,342] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,343] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,345] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,369] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,371] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,472] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,475] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,475] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,477] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,481] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-21 14:25:39,556] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-21 14:25:39,568] 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$212/1219887308.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/233850223.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-21 14:25:39,633] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:39,643] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:39,649] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:39,665] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:39,675] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:39,683] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]1dcc30ee
[2017-11-21 14:25:39,692] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:39,699] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]e51739
[2017-11-21 14:25:39,715] INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-21 14:25:39,745] WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: a6:5e:3d:80:17:76:22:56
[2017-11-21 14:25:39,858] INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-21 14:25:39,859] INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host 0.0.0.0 and port 9090
[2017-11-21 14:25:39,860] INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-21 14:25:39,861] INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 8.421 sec
[2017-11-21 14:25:39,968] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,971] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,971] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,973] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,974] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,976] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,981] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,983] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,984] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,986] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,987] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,988] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,989] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,991] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,992] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,994] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,996] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:39,998] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:39,998] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:40,000] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:40,032] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:40,033] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:40,034] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:40,035] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:40,036] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:40,037] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:40,037] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:40,038] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:40,039] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:40,047] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:40,056] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:40,063] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:40,063] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:40,064] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:40,065] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:40,066] 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-21 14:25:40,108] INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-21 14:25:40,137] INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-21 14:25:40,153] INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-21 14:25:40,159] INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-21 14:25:40,175] INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-21 14:25:40,188] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-21 14:25:40,191] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:40,191] INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-21 14:25:40,198] INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-21 14:25:40,203] INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-21 14:25:40,209] 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: 683b6b9e-aef6-44e8-a875-f6e2795a62cc 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/f9db2d71-0454-4f83-b583-c88e4b90f4c8
RUNTIME_HOME environment variable is set to /home/jenkins/workspace/carbon-analytics-pipeline/carbon-analytics/components/osgi-tests/target/f9db2d71-0454-4f83-b583-c88e4b90f4c8/wso2/default
osgi> [2017-11-21 14:25:47,971] 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-21 14:25:48,027] INFO {org.wso2.msf4j.internal.websocket.WebSocketServerSC} - All required capabilities are available of WebSocket service component is available.
[2017-11-21 14:25:48,100] INFO {org.wso2.carbon.metrics.core.config.model.JmxReporterConfig} - Creating JMX reporter for Metrics with domain 'org.wso2.carbon.metrics'
[2017-11-21 14:25:48,115] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:48,133] INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is activated
[2017-11-21 14:25:48,139] INFO {org.wso2.carbon.databridge.agent.internal.DataAgentDS} - Successfully deployed Agent Server
[2017-11-21 14:25:48,155] INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been activated.
[2017-11-21 14:25:48,203] INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting.
[2017-11-21 14:25:48,235] INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been activated.
[2017-11-21 14:25:48,685] INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-1 - is starting.
[2017-11-21 14:25:48,702] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:48,863] INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-2 - is starting.
[2017-11-21 14:25:49,040] 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-21 14:25:49,054] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JDBC reporter for Metrics
[2017-11-21 14:25:49,063] INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is activated
[2017-11-21 14:25:49,231] 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-21 14:25:49,252] INFO {org.wso2.carbon.event.simulator.core.service.CSVFileDeployer} - CSV file deployer initiated.
[2017-11-21 14:25:49,257] INFO {org.wso2.carbon.event.simulator.core.service.SimulationConfigDeployer} - Simulation config deployer initiated.
[2017-11-21 14:25:49,269] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorDeployer} - Stream Processor Deployer Initiated
[2017-11-21 14:25:49,282] INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has started.
[2017-11-21 14:25:49,743] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:49,745] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:49,747] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:49,749] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:49,773] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:49,786] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:49,920] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:49,927] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:49,929] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:25:49,935] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Started JMX reporter for Metrics
[2017-11-21 14:25:49,940] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Periodic State persistence enabled. Restoring last persisted state of MetricsTestApp
[2017-11-21 14:25:50,008] INFO {org.wso2.carbon.stream.processor.core.internal.StreamProcessorService} - Siddhi App MetricsTestApp deployed successfully
[2017-11-21 14:25:50,020] 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$212/1041679629.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/1657963754.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-21 14:25:50,144] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:50,158] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:50,163] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:50,170] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:50,180] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:50,185] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: o[email protected]274ab86d
[2017-11-21 14:25:50,191] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]
[2017-11-21 14:25:50,198] INFO {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice: [email protected]e18501
[2017-11-21 14:25:50,213] INFO {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are available
[2017-11-21 14:25:50,246] WARN {io.netty.util.internal.MacAddressUtil} - Failed to find a usable hardware address from the network interfaces; using random bytes: b5:ab:5e:ff:bd:d9:6a:33
[2017-11-21 14:25:50,336] INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - Started listener http-9090
[2017-11-21 14:25:50,337] INFO {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController} - HTTP Interface default starting on host 0.0.0.0 and port 9090
[2017-11-21 14:25:50,338] INFO {org.wso2.carbon.transport.http.netty.internal.HTTPTransportServiceComponent} - All CarbonHTTPServerInitializers are available
[2017-11-21 14:25:50,339] INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Stream Processor started in 8.519 sec
[2017-11-21 14:25:50,340] 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-21 14:26:00,742] 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-21 14:26:00,762] INFO {org.wso2.carbon.analytics.test.osgi.SiddhiMetricsAPITestcase} - Retrieving active Siddhi App through REST API
[2017-11-21 14:26:00,823] INFO {org.wso2.carbon.stream.processor.core.internal.ServiceComponent} - Service Component is deactivated
[2017-11-21 14:26:00,842] INFO {org.wso2.carbon.event.simulator.core.api.SingleApi} - Single Event Simulator service component is deactivated
[2017-11-21 14:26:00,857] INFO {org.wso2.carbon.stream.processor.statistics.api.StatisticsApi} - org.wso2.carbon.stream.processor.statistics.api.StatisticsApi service component has stop.
[2017-11-21 14:26:00,862] INFO {org.wso2.carbon.stream.processor.statistics.api.SystemDetailsApi} - SystemDetailsApi has been stop.
[2017-11-21 14:26:00,877] INFO {org.wso2.carbon.siddhi.metrics.core.service.MetricsServiceComponent} - MetricsServiceComponent has been stop.
[2017-11-21 14:26:00,881] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JDBC reporter for Metrics
[2017-11-21 14:26:00,884] INFO {org.wso2.carbon.metrics.core.reporter.impl.AbstractReporter} - Stopped JMX reporter for Metrics
[2017-11-21 14:26:00,885] INFO {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is deactivated
[2017-11-21 14:26:00,891] INFO {org.wso2.carbon.event.simulator.core.api.DatabaseApi} - Event Simulator database service component is deactivated
[2017-11-21 14:26:00,895] INFO {org.wso2.carbon.event.simulator.core.api.FeedApi} - Feed Event Simulator service component is deactivated
[2017-11-21 14:26:00,901] 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: 290.728 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: 05:05 min
[INFO] Finished at: 2017-11-21T14:26:03+00:00
[INFO] Final Memory: 101M/924M
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] step
[JaCoCo plugin] Collecting JaCoCo coverage data...
[JaCoCo plugin] **/target/**.exec;**/classes;**/src/main/java; locations are configured
[JaCoCo plugin] Number of found exec files for pattern **/target/**.exec: 1
[JaCoCo plugin] Saving matched execfiles: /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: []
[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: 15, method: 12, line: 8, branch: 5, instruction: 7
[Pipeline] step
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS