Re: pax-exam failing to shut down karaf

2016-10-27 Thread David Karr
On Thursday, October 27, 2016 at 10:19:47 AM UTC-7, Benson Margulies wrote: > > > > On Thu, Oct 27, 2016 at 12:50 PM, David Karr > wrote: > >> >> >> On Monday, October 24, 2016 at 8:48:15 AM UTC-7, Benson Margulies wrote: >>> >>> >>> On Mon, Oct 24, 2016 at 11:26 AM, David Karr >>> wrote: >>>

Re: pax-exam failing to shut down karaf

2016-10-27 Thread Benson Margulies
On Thu, Oct 27, 2016 at 12:50 PM, David Karr wrote: > > > On Monday, October 24, 2016 at 8:48:15 AM UTC-7, Benson Margulies wrote: >> >> >> On Mon, Oct 24, 2016 at 11:26 AM, David Karr >> wrote: >> >>> I don't have a lot of data, but we're seeing similar behavior, but >>> integrating with Karaf

Re: pax-exam failing to shut down karaf

2016-10-27 Thread David Karr
On Monday, October 24, 2016 at 8:48:15 AM UTC-7, Benson Margulies wrote: > > > On Mon, Oct 24, 2016 at 11:26 AM, David Karr > wrote: > >> I don't have a lot of data, but we're seeing similar behavior, but >> integrating with Karaf 4.0.5. If I run a suite of tests, many of them fail >> with "A

Re: pax-exam failing to shut down karaf

2016-10-24 Thread Toni Menzel
Cool! Please have a look to provide a pax exam docker container impl. Should not be too hard when starting with a remote test container that is alread there! On Monday, 24 October 2016, Benson Margulies wrote: > > On Mon, Oct 24, 2016 at 11:26 AM, David Karr > wrote: > >> I don't have a lot of

Re: pax-exam failing to shut down karaf

2016-10-24 Thread Benson Margulies
On Mon, Oct 24, 2016 at 11:26 AM, David Karr wrote: > I don't have a lot of data, but we're seeing similar behavior, but > integrating with Karaf 4.0.5. If I run a suite of tests, many of them fail > with "Address in use" errors, and when the tests are all completed, I see > several leftover kar

Re: pax-exam failing to shut down karaf

2016-10-24 Thread David Karr
I don't have a lot of data, but we're seeing similar behavior, but integrating with Karaf 4.0.5. If I run a suite of tests, many of them fail with "Address in use" errors, and when the tests are all completed, I see several leftover karaf instances that I have to manually kill. Some of the te

Re: pax-exam failing to shut down karaf

2016-10-20 Thread Benson Margulies
> > Here are some thread dumps: karaf: https://gist.github.com/benson-basis/195078c7b489daffc93b9ceb390d5b44 surefire ForkedBooter: https://gist.github.com/benson-basis/d4ec93288077e6fcb733f5d08d019409 maven: https://gist.github.com/benson-basis/9701c735c7e70067db0473714007464d -- --

Re: pax-exam failing to shut down karaf

2016-10-18 Thread Benson Margulies
On Tue, Oct 18, 2016 at 4:16 AM, Toni Menzel wrote: > yuck, just read that its not happening at startup. So your tests already > finished running and "just" the shutdown got stuck? Yes. I will try to get some thread dumps. > > > > On Tue, Oct 18, 2016 at 10:14 AM, Toni Menzel > wrote: >> >> I j

Re: pax-exam failing to shut down karaf

2016-10-18 Thread Toni Menzel
yuck, just read that its not happening at startup. So your tests already finished running and "just" the shutdown got stuck? On Tue, Oct 18, 2016 at 10:14 AM, Toni Menzel wrote: > I just had this behaviour when the forked process (guessing that you are > using a forked container) got stuck loa

Re: pax-exam failing to shut down karaf

2016-10-18 Thread Toni Menzel
I just had this behaviour when the forked process (guessing that you are using a forked container) got stuck loading a dependency (network, proxy issue). Please send in a trace log and dump. On Tue, Oct 18, 2016 at 9:59 AM, Guillaume Nodet wrote: > Would you be able to get a thread dump of bot

Re: pax-exam failing to shut down karaf

2016-10-18 Thread Guillaume Nodet
Would you be able to get a thread dump of both JVMs when they hang ? That may be able to give a pointer ... 2016-10-18 2:43 GMT+02:00 Benson Margulies : > On Mon, Oct 17, 2016 at 7:58 PM, Niclas Hedhman > wrote: > > It doesn't even timeout after 10, 20, 60 minutes? > > Nope. And it's not failing

Re: pax-exam failing to shut down karaf

2016-10-17 Thread Niclas Hedhman
Then I leave it to the experts... :-( On Tue, Oct 18, 2016 at 8:43 AM, Benson Margulies wrote: > On Mon, Oct 17, 2016 at 7:58 PM, Niclas Hedhman > wrote: > > It doesn't even timeout after 10, 20, 60 minutes? > > Nope. And it's not failing to start: in the exam plugin case, it > starts, the test

Re: pax-exam failing to shut down karaf

2016-10-17 Thread Benson Margulies
On Mon, Oct 17, 2016 at 7:58 PM, Niclas Hedhman wrote: > It doesn't even timeout after 10, 20, 60 minutes? Nope. And it's not failing to start: in the exam plugin case, it starts, the tests run that talk to the Karaf instance, and then it hangs in stop. And even if I use the Linux kill command to

Re: pax-exam failing to shut down karaf

2016-10-17 Thread Niclas Hedhman
My guess is that the shutdown is happening before the startup is completed, or something to that effect. Try to capture the relative timing of getting there and the signal to shutdown. Right now, no suggestion how to solve this, if it is he case. On Tue, Oct 18, 2016 at 7:58 AM, Niclas Hedhman w

Re: pax-exam failing to shut down karaf

2016-10-17 Thread Niclas Hedhman
It doesn't even timeout after 10, 20, 60 minutes? On Tue, Oct 18, 2016 at 3:39 AM, Benson Margulies wrote: > Using pax-exam 4.9.1, we suffer from unpredictable hangs on shutdown. > We've seen this with the exam-maven-plugin and when using > > @ClassRule > public static PaxExamServer exam = new P

pax-exam failing to shut down karaf

2016-10-17 Thread Benson Margulies
Using pax-exam 4.9.1, we suffer from unpredictable hangs on shutdown. We've seen this with the exam-maven-plugin and when using @ClassRule public static PaxExamServer exam = new PaxExamServer(); to launch karaf 4.0.6. Most of the time, everything works as expected, but when it goes wrong, it