>>>>> Jean-Baptiste Onofré 
>>>>> <jeanbaptiste.onofre-re5jqeeqqe8avxtiumw...@public.gmane.org>:

> 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 - ops4j@googlegroups.com

--- 
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 ops4j+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/86sgs9nz7t.fsf%40dod.no.
For more options, visit https://groups.google.com/d/optout.

Reply via email to