Hi Lakshman, Please find the full stack trace.
[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building WSO2 Carbon Datasources - OSGi Tests 1.1.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ carbon-datasources-osgi-tests --- [INFO] Deleting /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/target [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ carbon-datasources-osgi-tests --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ carbon-datasources-osgi-tests --- [INFO] Executing: /bin/sh -c cd '/home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests [INFO] Storing buildNumber: 0935d02732e42287fcda994da5bfe0bf1e80664f at timestamp: 1487157110916 [INFO] Storing buildScmBranch: kernel-update [INFO] [INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (prepare-agent) @ carbon-datasources-osgi-tests --- [INFO] argLine set to -javaagent:/home/lahiru/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/target/jacoco.exec,includes=org.wso2.carbon* [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ carbon-datasources-osgi-tests --- [INFO] [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ carbon-datasources-osgi-tests --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/src/test/resources/carbon-home [INFO] [INFO] --- maven-paxexam-plugin:1.2.4:generate-depends-file (generate-config) @ carbon-datasources-osgi-tests --- [INFO] Created: /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/target/classes/META-INF/maven/dependencies.properties [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ carbon-datasources-osgi-tests --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ carbon-datasources-osgi-tests --- [INFO] No sources to compile [INFO] [INFO] >>> findbugs-maven-plugin:3.0.3:check (analyze-compile) @ carbon-datasources-osgi-tests >>> [INFO] [INFO] --- findbugs-maven-plugin:3.0.3:findbugs (findbugs) @ carbon-datasources-osgi-tests --- [INFO] [INFO] <<< findbugs-maven-plugin:3.0.3:check (analyze-compile) @ carbon-datasources-osgi-tests <<< [INFO] [INFO] --- findbugs-maven-plugin:3.0.3:check (analyze-compile) @ carbon-datasources-osgi-tests --- [INFO] [INFO] --- maven-dependency-plugin:2.10:unpack (unpack-distribution) @ carbon-datasources-osgi-tests --- [INFO] Configured Artifact: org.wso2.carbon.datasources:wso2carbon-datasource-test:?:zip [INFO] Unpacking /home/lahiru/.m2/repository/org/wso2/carbon/datasources/wso2carbon-datasource-test/1.1.1-SNAPSHOT/wso2carbon-datasource-test-1.1.1-SNAPSHOT.zip to /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/target with includes "" and excludes "" [INFO] [INFO] --- maven-dependency-plugin:2.10:copy-dependencies (copy-jacoco-dependencies) @ carbon-datasources-osgi-tests --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.5.201505241946:instrument (default-instrument) @ carbon-datasources-osgi-tests --- [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ carbon-datasources-osgi-tests --- [WARNING] Using platform encoding (UTF-8 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-datasources-osgi-tests --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 4 source files to /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/target/test-classes [INFO] /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/src/test/java/org/wso2/carbon/datasource/osgi/jndi/context/CustomContext.java: /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/src/test/java/org/wso2/carbon/datasource/osgi/jndi/context/CustomContext.java uses unchecked or unsafe operations. [INFO] /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/src/test/java/org/wso2/carbon/datasource/osgi/jndi/context/CustomContext.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ carbon-datasources-osgi-tests --- ------------------------------------------------------- T E S T S ------------------------------------------------------- Running TestSuite SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/lahiru/.m2/repository/org/slf4j/slf4j-log4j12/1.7.13/slf4j-log4j12-1.7.13.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/lahiru/.m2/repository/org/ops4j/pax/logging/pax-logging-api/1.8.5/pax-logging-api-1.8.5.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.Log4jLoggerFactory] log4j:WARN No appenders could be found for logger (org.ops4j.pax.exam.testng.listener.PaxExam). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. JAVA_HOME environment variable is set to /usr/lib/jvm/java-8-oracle CARBON_HOME environment variable is set to /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/target/91ca8d87-709c-40b1-8c61-f397ac7316c6 [2017-02-15 16:41:57,526] INFO {org.wso2.carbon.launcher.extensions.OSGiLibBundleDeployerUtils updateOSGiLib} - Successfully updated the OSGi bundle information of Carbon Runtime: default osgi> [2017-02-15 16:41:58,844] INFO {com.zaxxer.hikari.HikariDataSource} - HikariPool-0 - is starting. [2017-02-15 16:41:59,014] INFO {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Carbon Kernel started in 1.845 sec Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 49.990s [INFO] Finished at: Wed Feb 15 16:42:36 IST 2017 [INFO] Final Memory: 49M/520M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project carbon-datasources-osgi-tests: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was /bin/sh -c cd /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests && /usr/lib/jvm/java-8-oracle/jre/bin/java '-javaagent:/home/lahiru/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/target/jacoco.exec,includes=org.wso2.carbon*' -jar /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/target/surefire/surefirebooter3909139502095843647.jar /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/target/surefire/surefire6854208271970699885tmp /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-tests/target/surefire/surefire_0521139021760816830tmp Best Regards, On Wed, Feb 15, 2017 at 3:53 PM, Lakshman Udayakantha <lakshm...@wso2.com> wrote: > Hi Lahiru, > > Could you share the full stack trace? There may be a better reason in > upside of the log. > > Thanks, > Lakshman > > On Wed, Feb 15, 2017 at 3:49 PM, Lahiru Manohara <lahir...@wso2.com> > wrote: > >> Hi, >> >> I am getting following error while trying to build the >> carbon-datasource with test after migrating to the pax exam changes [1]. >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test >> (default-test) on project carbon-datasources-osgi-tests: Execution >> default-test of goal >> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test >> failed: The forked VM terminated without properly saying goodbye. VM crash >> or System.exit called? >> [ERROR] Command was /bin/sh -c cd /home/wso2/repo/carbon-repos/c >> arbon-datasources/tests/osgi-tests && /usr/lib/jvm/java-8-oracle/jre/bin/java >> '-javaagent:/home/lahiru/.m2/repository/org/jacoco/org.jacoco.agent/ >> 0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar= >> destfile=/home/wso2/repo/carbon-repos/carbon-datasources/ >> tests/osgi-tests/target/jacoco.exec,includes=org.wso2.carbon*' -jar >> /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-t >> ests/target/surefire/surefirebooter8086323750252961380.jar >> /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-t >> ests/target/surefire/surefire1231055676969041745tmp >> /home/wso2/repo/carbon-repos/carbon-datasources/tests/osgi-t >> ests/target/surefire/surefire_03949232142509674497tmp >> >> [1]. https://github.com/wso2/carbon-kernel/tree/master/tests/osgi-tests >> >> Best Regards, >> -- >> *Lahiru Manohara* >> *Software Engineer* >> Mobile: +94716561576 >> WSO2 Inc. | http://wso2.com >> lean.enterprise.middleware >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Lakshman Udayakantha > WSO2 Inc. www.wso2.com > lean.enterprise.middleware > Mobile: *0717429601* > > -- *Lahiru Manohara* *Software Engineer* Mobile: +94716561576 WSO2 Inc. | http://wso2.com lean.enterprise.middleware
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev