More details for java version java -version openjdk version "11" 2018-09-25 OpenJDK Runtime Environment 18.9 (build 11+28) OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode) ------------- Freeman(Yue) Fang
Red Hat, Inc. > On Jun 16, 2019, at 4:48 PM, Freeman Fang <[email protected]> wrote: > > FYI, I’m using OpenJDK11, Karaf tests work for me with OpenJDK11 > > Btw, my env is > > Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; > 2018-10-24T14:41:47-04:00) > Maven home: /Users/ffang/kit/apache-maven-3.6.0 > Java version: 11, vendor: Oracle Corporation, runtime: > /Users/ffang/kit/jdk-11.jdk/Contents/Home > Default locale: en_CA, platform encoding: UTF-8 > OS name: "mac os x", version: "10.10.5", arch: "x86_64", family: "mac" > ------------- > Freeman(Yue) Fang > > Red Hat, Inc. > > > > > >> On Jun 16, 2019, at 2:48 PM, Steinar Bang <[email protected] <mailto:[email protected]>> >> wrote: >> >>>>>>> Jean-Baptiste Onofré >>>>>>> <[email protected] >>>>>>> <mailto:[email protected]>>: >> >>> Did you try with a clean maven repo ? >> >> Yes. >> rm -rf ~/.m2/repository >> cd ~/workspaces/karaf/karaf >> git checkout master >> mvn clean install >> >> Fails in this integration test: >> ... >> [INFO] Running org.apache.karaf.itests.EquinoxTest >> 2019-06-16 19:20:40,563 | INFO | j.pax.exam.spi.DefaultExamSystem 127 | >> Pax Exam System (Version: 4.13.1) created. >> 2019-06-16 19:20:40,596 | INFO | .pax.exam.junit.impl.ProbeRunner 74 | >> creating PaxExam runner for class org.apache.karaf.itests.EquinoxTest >> Port 1099 not available, trying next one >> Port 44444 not available, trying next one >> Port 8101 not available, trying next one >> 2019-06-16 19:20:40,625 | INFO | .pax.exam.junit.impl.ProbeRunner 94 | >> running test class org.apache.karaf.itests.EquinoxTest >> 2019-06-16 19:20:40,626 | INFO | iner.internal.KarafTestContainer 142 | >> Creating RMI registry server on 127.0.0.1:21000 >> 2019-06-16 19:20:41,124 | INFO | iner.internal.KarafTestContainer 205 | >> Found 0 options when requesting OverrideJUnitBundlesOption.class >> 2019-06-16 19:20:41,147 | INFO | iner.internal.KarafTestContainer 258 | >> Wait for test container to finish its initialization [ RelativeTimeout value >> = 180000 ] >> 2019-06-16 19:20:41,148 | INFO | rn.RemoteBundleContextClientImpl 240 | >> Waiting for remote bundle context.. on 21000 name: >> dcc2fec6-4390-42c0-8255-7f7d24469da8 timout: [ RelativeTimeout value = >> 180000 ] >> WARNING: package org.apache.karaf.specs.locator not in java.base >> Error starting karaf activator org.apache.karaf.specs.activator.Activator: >> org/apache/karaf/specs/locator/OsgiLocator >> >> EquinoxTest: simpleTest >> info >> 2019-06-16 19:21:16,853 | INFO | exam.spi.reactors.ReactorManager 444 | >> suite finished >> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: >> 36.407 s - in org.apache.karaf.itests.EquinoxTest >> [INFO] >> [INFO] Results: >> [INFO] >> [ERROR] Errors: >> [ERROR] RestExampleTest.testWithCxfClient » WrappedTestContainer >> [org.apache.karaf.ite... >> [INFO] >> [ERROR] Tests run: 284, Failures: 0, Errors: 1, Skipped: 5 >> >>> It's certainly an environment issue as both Jenkins at Apache and my >>> machine are ok. >> >> Could you share some details about your build environments? OS? maven >> version? Java version? >> >>> By the way, both machines use jdk 11.0.3 (Oracle). >> >> Hm... that could be the difference. >> >> But I would still like to get things working with openjdk. >> >> -- >> -- >> ------------------ >> OPS4J - http://www.ops4j.org <http://www.ops4j.org/> - >> [email protected] <mailto:[email protected]> >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OPS4J" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ops4j/86sgs9nz7t.fsf%40dod.no >> <https://groups.google.com/d/msgid/ops4j/86sgs9nz7t.fsf%40dod.no>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. > -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/6633E728-B499-4715-A096-B3F54B8909FF%40gmail.com. For more options, visit https://groups.google.com/d/optout.
