Hi Mike, Thanks for the update and the PR. I will take a look.
Regards JB > Le 14 juin 2020 à 11:07, Mike Hummel <m...@mhus.de> a écrit : > > Hi, > > the problem is a combination about docker and OpenJdk. Looks like the jdk > can't be destroyed at all. With OracleJdk there is no such problem. > > This is a old discussion but the effect is the same: > > https://askubuntu.com/questions/201303/what-is-a-defunct-process-and-why-doesnt-it-get-killed > > <https://askubuntu.com/questions/201303/what-is-a-defunct-process-and-why-doesnt-it-get-killed> > > This means 'ps -p' returns a process but the process is a zombi and > isRunning() returns true. But isn't. > > I did a fix by testing the process status: > > https://github.com/apache/karaf/pull/1136 > <https://github.com/apache/karaf/pull/1136> > > cu > Mike > > >> On 12. Jun 2020, at 11:11, Mike Hummel <m...@mhus.de <mailto:m...@mhus.de>> >> wrote: >> >> Hi, >> >> after looking under the hat I found some other results. >> >> First I did a mistake: JPM is not package - it's java process management. >> >> On mac with OpenJDK it's passing the test. Maybe it's related to the docker >> environment. I will try to debug the test inside the container. >> >> I created the ticket KARAF-6764 >> <https://issues.apache.org/jira/browse/KARAF-6764> >> for it. >> >> Regards, >> Mike >> >> >>> On 11. Jun 2020, at 21:11, Mike Hummel <m...@mhus.de <mailto:m...@mhus.de>> >>> wrote: >>> >>> Thx, >>> >>> I could create a jira ticket and add the fix by skipping the test if jpm >>> not exists. >>> >>> Would be nice if you let me try it. >>> >>> >>>> On 11. Jun 2020, at 18:35, Jean-Baptiste Onofre <j...@nanthrax.net >>>> <mailto:j...@nanthrax.net>> wrote: >>>> >>>> OK, it’s what I thought as OpenJDK doesn’t include JPM by default. >>>> >>>> Anyway, it’s fair to have building passing with OpenJDK. So I will fix >>>> that. >>>> >>>> Sorry for the inconvenience. >>>> >>>> Regards >>>> JB >>>> >>>>> Le 11 juin 2020 à 14:51, Mike Hummel <m...@mhus.de <mailto:m...@mhus.de>> >>>>> a écrit : >>>>> >>>>> hmm ... Since licence change in 2019 I'm not using OracleJdk any more. As >>>>> background: In most companies it's no more allowed to use OracleJdk, so >>>>> it's useless to work with it any more. >>>>> >>>>> Even there is no official docker image for OracleJdk ... >>>>> >>>>> I created a Oracle one using git clone >>>>> https://github.com/oracle/docker-images.git >>>>> <https://github.com/oracle/docker-images.git> >>>>> >>>>> and build was successful. >>>>> >>>>> >>>>> >>>>> >>>>>> On 11. Jun 2020, at 11:00, Jean-Baptiste Onofre <j...@nanthrax.net >>>>>> <mailto:j...@nanthrax.net>> wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> Any chance to test with Oracle JDK ? >>>>>> >>>>>> Regards >>>>>> JB >>>>>> >>>>>>> Le 11 juin 2020 à 10:58, Mike Hummel <m...@mhus.de >>>>>>> <mailto:m...@mhus.de>> a écrit : >>>>>>> >>>>>>> To be sure I tried with a newer OpenJdk version >>>>>>> >>>>>>> user@deploy-mhus:~/karaf$ java --version >>>>>>> openjdk 11.0.7 2020-04-14 >>>>>>> OpenJDK Runtime Environment 18.9 (build 11.0.7+10) >>>>>>> OpenJDK 64-Bit Server VM 18.9 (build 11.0.7+10, mixed mode) >>>>>>> >>>>>>> but with the same result. >>>>>>> >>>>>>> I also tried to install jpm manually (I'm not familiar with JPM) >>>>>>> >>>>>>> curl >>>>>>> https://repo1.maven.org/maven2/biz/aQute/bnd/biz.aQute.jpm.run/3.5.0/biz.aQute.jpm.run-3.5.0.jar >>>>>>> >>>>>>> <https://repo1.maven.org/maven2/biz/aQute/bnd/biz.aQute.jpm.run/3.5.0/biz.aQute.jpm.run-3.5.0.jar> >>>>>>> >t.jar >>>>>>> java -jar t.jar init >>>>>>> >>>>>>> And its possible to use the command 'jpm' >>>>>>> >>>>>>> Without success. >>>>>>> >>>>>>> >>>>>>>> On 11. Jun 2020, at 07:15, Jean-Baptiste Onofre <j...@nanthrax.net >>>>>>>> <mailto:j...@nanthrax.net>> wrote: >>>>>>>> >>>>>>>> JPM >>>>>>> >>>>>> >>>>> >>>> >>> >> >