[jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Matthias Sohn
we upgraded the JGit HTTP tests which used Jetty 7.1.6 so far to  
Jetty 8.1.3.v20120416 coming with Juno [1]. These tests start a Jetty server
with some JGit servlets from the JUnit's setup method and then send git 
commands over HTTP in order to test jgit's HTTP transport protocol 
implementation.

On some machines (actually hudson.eclipse.org running on SLES and
Dani's windows PC) these tests hang when run using Jetty 8.1.3.v20120416.

Dani captured a thread dump of the latter case [2] [3]. The jgit test sends
a request similar (recorded on Mac where the tests do not hang) to:
GET /git/test1338294501573_0.git/info/refs HTTP/1.1
Accept-Encoding: gzip
Pragma: no-cache
User-Agent: JGit/unknown
Accept: */*
Cache-Control: no-cache
Host: 127.0.0.1:65167
Connection: keep-alive
and hangs waiting for a response. It seems the request doesn't
reach any of the JGit servlets. This didn't happen with the exact
same tests run on Jetty 7.1.6.

The expected response for the above request should look similar to
HTTP/1.1 200 OK
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, max-age=0, must-revalidate
Content-Type: text/plain;charset=UTF-8
Content-Length: 59
Server: Jetty(8.1.3.v20120416)

897816ec1f72959180c6082ac3431d51978e1378.refs/heads/master
Any idea what could be wrong ?
Any hints how to trouble shoot this problem ?
I also asked webmaster to get a thread dump on hudson [4] but this isn't 
available yet

[1] JGit: - "Update Jetty to 8.1.3.v20120416" https://git.eclipse.org/r/#/c/6097/
EGit: - "Define target platforms for the build" https://git.eclipse.org/r/#/c/6098/

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Jesse McConnell
We will need that thread dump as soon as you get it, can you respond
with it here and on the bug when you get it?

From the windows machine would be fine if you can get it easier
there...and a description of whatever that eclipse machine is O/S and
java version wise.  info on the windows machine as well

cheers,
jesse

--
jesse mcconnell
[hidden email]


On Tue, May 29, 2012 at 8:11 AM, Matthias Sohn
<[hidden email]> wrote:

> we upgraded the JGit HTTP tests which used Jetty 7.1.6 so far to
> Jetty 8.1.3.v20120416 coming with Juno [1]. These tests start a Jetty server
> with some JGit servlets from the JUnit's setup method and then send git
> commands over HTTP in order to test jgit's HTTP transport protocol
> implementation.
>
> On some machines (actually hudson.eclipse.org running on SLES and
> Dani's windows PC) these tests hang when run using Jetty 8.1.3.v20120416.
>
> Dani captured a thread dump of the latter case [2] [3]. The jgit test sends
> a request similar (recorded on Mac where the tests do not hang) to:
>
> GET /git/test1338294501573_0.git/info/refs HTTP/1.1
> Accept-Encoding: gzip
> Pragma: no-cache
> User-Agent: JGit/unknown
> Accept: */*
> Cache-Control: no-cache
> Host: 127.0.0.1:65167
> Connection: keep-alive
>
> and hangs waiting for a response. It seems the request doesn't
> reach any of the JGit servlets. This didn't happen with the exact
> same tests run on Jetty 7.1.6.
>
> The expected response for the above request should look similar to
>
> HTTP/1.1 200 OK
> Expires: Fri, 01 Jan 1980 00:00:00 GMT
> Pragma: no-cache
> Cache-Control: no-cache, max-age=0, must-revalidate
> Content-Type: text/plain;charset=UTF-8
> Content-Length: 59
> Server: Jetty(8.1.3.v20120416)
>
> 897816ec1f72959180c6082ac3431d51978e1378.refs/heads/master
>
> Any idea what could be wrong ?
> Any hints how to trouble shoot this problem ?
> I also asked webmaster to get a thread dump on hudson [4] but this isn't
> available yet
>
> [1] JGit: - "Update Jetty to 8.1.3.v20120416"
> https://git.eclipse.org/r/#/c/6097/
> EGit: - "Define target platforms for the build"
> https://git.eclipse.org/r/#/c/6098/
> [2] bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=380302#c14 and
> ff
> [3] thread dump: https://bugs.eclipse.org/bugs/attachment.cgi?id=216385
> [4] https://bugs.eclipse.org/bugs/show_bug.cgi?id=380849
>
> --
> Matthias
>
> _______________________________________________
> jetty-dev mailing list
> [hidden email]
> https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Joakim Erdfelt-9
In reply to this post by Matthias Sohn
I cannot replicate this problem.
(in other words: no build and/or test failures reported in maven)

What I did.


   Note: left clone on master

$ cd jgit
$ mvn clean install

This worked on:
* Ubuntu Oneiric (11.10) x64
   with JDK 1.6.0_30-b12 (oracle, non-openjdk)
* Windows 7 (64 bit)
   with JDK 1.7.0_02-b13 (oracle)

Both builds with maven 3.0.3

Question, why jetty 8.x? 
None of the serviets appear to use servlet-3.0 specific features.
If you are not using servlet 3.0 then there is no reason to be using Jetty 8.x, stick with Jetty 7.x.

    Note: Jetty 7.x and 8.x are developed in parallel, both experience releases at the same time.

I'm digging into your AppServer class right now to see if anything else jumps out.

--
Joakim Erdfelt

(the people behind jetty and cometd)



On Tue, May 29, 2012 at 6:11 AM, Matthias Sohn <[hidden email]> wrote:
we upgraded the JGit HTTP tests which used Jetty 7.1.6 so far to  
Jetty 8.1.3.v20120416 coming with Juno [1]. These tests start a Jetty server
with some JGit servlets from the JUnit's setup method and then send git 
commands over HTTP in order to test jgit's HTTP transport protocol 
implementation.

On some machines (actually hudson.eclipse.org running on SLES and
Dani's windows PC) these tests hang when run using Jetty 8.1.3.v20120416.

Dani captured a thread dump of the latter case [2] [3]. The jgit test sends
a request similar (recorded on Mac where the tests do not hang) to:
GET /git/test1338294501573_0.git/info/refs HTTP/1.1
Accept-Encoding: gzip
Pragma: no-cache
User-Agent: JGit/unknown
Accept: */*
Cache-Control: no-cache
Host: 127.0.0.1:65167
Connection: keep-alive
and hangs waiting for a response. It seems the request doesn't
reach any of the JGit servlets. This didn't happen with the exact
same tests run on Jetty 7.1.6.

The expected response for the above request should look similar to
HTTP/1.1 200 OK
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, max-age=0, must-revalidate
Content-Type: text/plain;charset=UTF-8
Content-Length: 59
Server: Jetty(8.1.3.v20120416)

897816ec1f72959180c6082ac3431d51978e1378.refs/heads/master
Any idea what could be wrong ?
Any hints how to trouble shoot this problem ?
I also asked webmaster to get a thread dump on hudson [4] but this isn't 
available yet

[1] JGit: - "Update Jetty to 8.1.3.v20120416" https://git.eclipse.org/r/#/c/6097/
EGit: - "Define target platforms for the build" https://git.eclipse.org/r/#/c/6098/

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Matthias Sohn
2012/5/29 Joakim Erdfelt <[hidden email]>
I cannot replicate this problem.
(in other words: no build and/or test failures reported in maven)

What I did.


   Note: left clone on master

you need  to checkout jgit origin/stable-2.0 in order to use Jetty 8.1.3

$ cd jgit
$ mvn clean install

This worked on:
* Ubuntu Oneiric (11.10) x64
   with JDK 1.6.0_30-b12 (oracle, non-openjdk)
* Windows 7 (64 bit)
   with JDK 1.7.0_02-b13 (oracle)

Both builds with maven 3.0.3

Question, why jetty 8.x? 
None of the serviets appear to use servlet-3.0 specific features.
If you are not using servlet 3.0 then there is no reason to be using Jetty 8.x, stick with Jetty 7.x.

I tried that but wasn't able to install Jetty 7.x into 4.2 M7 or use it in a target platform
as 4.2 seems to bring and need 8.1.3. If I am wrong here I would be happy to roll back to 7.x
if someone can tell me how to use Jetty 7.x from within 4.2.
 
    Note: Jetty 7.x and 8.x are developed in parallel, both experience releases at the same time.

I'm digging into your AppServer class right now to see if anything else jumps out.

--
Joakim Erdfelt

(the people behind jetty and cometd)



On Tue, May 29, 2012 at 6:11 AM, Matthias Sohn <[hidden email]> wrote:
we upgraded the JGit HTTP tests which used Jetty 7.1.6 so far to  
Jetty 8.1.3.v20120416 coming with Juno [1]. These tests start a Jetty server
with some JGit servlets from the JUnit's setup method and then send git 
commands over HTTP in order to test jgit's HTTP transport protocol 
implementation.

On some machines (actually hudson.eclipse.org running on SLES and
Dani's windows PC) these tests hang when run using Jetty 8.1.3.v20120416.

Dani captured a thread dump of the latter case [2] [3]. The jgit test sends
a request similar (recorded on Mac where the tests do not hang) to:
GET /git/test1338294501573_0.git/info/refs HTTP/1.1
Accept-Encoding: gzip
Pragma: no-cache
User-Agent: JGit/unknown
Accept: */*
Cache-Control: no-cache
Host: 127.0.0.1:65167
Connection: keep-alive
and hangs waiting for a response. It seems the request doesn't
reach any of the JGit servlets. This didn't happen with the exact
same tests run on Jetty 7.1.6.

The expected response for the above request should look similar to
HTTP/1.1 200 OK
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, max-age=0, must-revalidate
Content-Type: text/plain;charset=UTF-8
Content-Length: 59
Server: Jetty(8.1.3.v20120416)

897816ec1f72959180c6082ac3431d51978e1378.refs/heads/master
Any idea what could be wrong ?
Any hints how to trouble shoot this problem ?
I also asked webmaster to get a thread dump on hudson [4] but this isn't 
available yet

[1] JGit: - "Update Jetty to 8.1.3.v20120416" https://git.eclipse.org/r/#/c/6097/
EGit: - "Define target platforms for the build" https://git.eclipse.org/r/#/c/6098/

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev




--
Matthias

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Matthias Sohn
In reply to this post by Jesse McConnell
2012/5/29 Jesse McConnell <[hidden email]>
We will need that thread dump as soon as you get it, can you respond
with it here and on the bug when you get it?


will do that
 
From the windows machine would be fine if you can get it easier
there...and a description of whatever that eclipse machine is O/S and
java version wise.  info on the windows machine as well


Dani: could you provide this information for your environment ?

 
cheers,
jesse

--
jesse mcconnell
[hidden email]


On Tue, May 29, 2012 at 8:11 AM, Matthias Sohn
<[hidden email]> wrote:
> we upgraded the JGit HTTP tests which used Jetty 7.1.6 so far to
> Jetty 8.1.3.v20120416 coming with Juno [1]. These tests start a Jetty server
> with some JGit servlets from the JUnit's setup method and then send git
> commands over HTTP in order to test jgit's HTTP transport protocol
> implementation.
>
> On some machines (actually hudson.eclipse.org running on SLES and
> Dani's windows PC) these tests hang when run using Jetty 8.1.3.v20120416.
>
> Dani captured a thread dump of the latter case [2] [3]. The jgit test sends
> a request similar (recorded on Mac where the tests do not hang) to:
>
> GET /git/test1338294501573_0.git/info/refs HTTP/1.1
> Accept-Encoding: gzip
> Pragma: no-cache
> User-Agent: JGit/unknown
> Accept: */*
> Cache-Control: no-cache
> Host: 127.0.0.1:65167
> Connection: keep-alive
>
> and hangs waiting for a response. It seems the request doesn't
> reach any of the JGit servlets. This didn't happen with the exact
> same tests run on Jetty 7.1.6.
>
> The expected response for the above request should look similar to
>
> HTTP/1.1 200 OK
> Expires: Fri, 01 Jan 1980 00:00:00 GMT
> Pragma: no-cache
> Cache-Control: no-cache, max-age=0, must-revalidate
> Content-Type: text/plain;charset=UTF-8
> Content-Length: 59
> Server: Jetty(8.1.3.v20120416)
>
> 897816ec1f72959180c6082ac3431d51978e1378.refs/heads/master
>
> Any idea what could be wrong ?
> Any hints how to trouble shoot this problem ?
> I also asked webmaster to get a thread dump on hudson [4] but this isn't
> available yet
>
> [1] JGit: - "Update Jetty to 8.1.3.v20120416"
> https://git.eclipse.org/r/#/c/6097/
> EGit: - "Define target platforms for the build"
> https://git.eclipse.org/r/#/c/6098/
> [2] bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=380302#c14 and
> ff
> [3] thread dump: https://bugs.eclipse.org/bugs/attachment.cgi?id=216385
> [4] https://bugs.eclipse.org/bugs/show_bug.cgi?id=380849
>
> --
> Matthias
>
> _______________________________________________
> jetty-dev mailing list
> [hidden email]
> https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



--
Matthias

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Joakim Erdfelt-9
In reply to this post by Matthias Sohn
After switching to origin/stable-2.0 i was able to replicate on Ubuntu.

It hangs on org.eclipse.jgit.http.test.DumbClientSmartServerTest
Will dig more.

--
Joakim Erdfelt

(the people behind jetty and cometd)



On Tue, May 29, 2012 at 7:17 AM, Matthias Sohn <[hidden email]> wrote:
2012/5/29 Joakim Erdfelt <[hidden email]>
I cannot replicate this problem.
(in other words: no build and/or test failures reported in maven)

What I did.


   Note: left clone on master

you need  to checkout jgit origin/stable-2.0 in order to use Jetty 8.1.3

$ cd jgit
$ mvn clean install

This worked on:
* Ubuntu Oneiric (11.10) x64
   with JDK 1.6.0_30-b12 (oracle, non-openjdk)
* Windows 7 (64 bit)
   with JDK 1.7.0_02-b13 (oracle)

Both builds with maven 3.0.3

Question, why jetty 8.x? 
None of the serviets appear to use servlet-3.0 specific features.
If you are not using servlet 3.0 then there is no reason to be using Jetty 8.x, stick with Jetty 7.x.

I tried that but wasn't able to install Jetty 7.x into 4.2 M7 or use it in a target platform
as 4.2 seems to bring and need 8.1.3. If I am wrong here I would be happy to roll back to 7.x
if someone can tell me how to use Jetty 7.x from within 4.2.
 
    Note: Jetty 7.x and 8.x are developed in parallel, both experience releases at the same time.

I'm digging into your AppServer class right now to see if anything else jumps out.

--
Joakim Erdfelt

(the people behind jetty and cometd)



On Tue, May 29, 2012 at 6:11 AM, Matthias Sohn <[hidden email]> wrote:
we upgraded the JGit HTTP tests which used Jetty 7.1.6 so far to  
Jetty 8.1.3.v20120416 coming with Juno [1]. These tests start a Jetty server
with some JGit servlets from the JUnit's setup method and then send git 
commands over HTTP in order to test jgit's HTTP transport protocol 
implementation.

On some machines (actually hudson.eclipse.org running on SLES and
Dani's windows PC) these tests hang when run using Jetty 8.1.3.v20120416.

Dani captured a thread dump of the latter case [2] [3]. The jgit test sends
a request similar (recorded on Mac where the tests do not hang) to:
GET /git/test1338294501573_0.git/info/refs HTTP/1.1
Accept-Encoding: gzip
Pragma: no-cache
User-Agent: JGit/unknown
Accept: */*
Cache-Control: no-cache
Host: 127.0.0.1:65167
Connection: keep-alive
and hangs waiting for a response. It seems the request doesn't
reach any of the JGit servlets. This didn't happen with the exact
same tests run on Jetty 7.1.6.

The expected response for the above request should look similar to
HTTP/1.1 200 OK
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, max-age=0, must-revalidate
Content-Type: text/plain;charset=UTF-8
Content-Length: 59
Server: Jetty(8.1.3.v20120416)

897816ec1f72959180c6082ac3431d51978e1378.refs/heads/master
Any idea what could be wrong ?
Any hints how to trouble shoot this problem ?
I also asked webmaster to get a thread dump on hudson [4] but this isn't 
available yet

[1] JGit: - "Update Jetty to 8.1.3.v20120416" https://git.eclipse.org/r/#/c/6097/
EGit: - "Define target platforms for the build" https://git.eclipse.org/r/#/c/6098/

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev




--
Matthias

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Matthias Sohn
2012/5/29 Joakim Erdfelt <[hidden email]>
After switching to origin/stable-2.0 i was able to replicate on Ubuntu.

It hangs on org.eclipse.jgit.http.test.DumbClientSmartServerTest

yeah, this is the same test class Dani reported to hang, refer to 
and his thread dump
to see his findings 
 
Will dig more.

I very much appreciate your help  :)

--
Joakim Erdfelt

(the people behind jetty and cometd)



On Tue, May 29, 2012 at 7:17 AM, Matthias Sohn <[hidden email]> wrote:
2012/5/29 Joakim Erdfelt <[hidden email]>
I cannot replicate this problem.
(in other words: no build and/or test failures reported in maven)

What I did.


   Note: left clone on master

you need  to checkout jgit origin/stable-2.0 in order to use Jetty 8.1.3

$ cd jgit
$ mvn clean install

This worked on:
* Ubuntu Oneiric (11.10) x64
   with JDK 1.6.0_30-b12 (oracle, non-openjdk)
* Windows 7 (64 bit)
   with JDK 1.7.0_02-b13 (oracle)

Both builds with maven 3.0.3

Question, why jetty 8.x? 
None of the serviets appear to use servlet-3.0 specific features.
If you are not using servlet 3.0 then there is no reason to be using Jetty 8.x, stick with Jetty 7.x.

I tried that but wasn't able to install Jetty 7.x into 4.2 M7 or use it in a target platform
as 4.2 seems to bring and need 8.1.3. If I am wrong here I would be happy to roll back to 7.x
if someone can tell me how to use Jetty 7.x from within 4.2.
 
    Note: Jetty 7.x and 8.x are developed in parallel, both experience releases at the same time.

I'm digging into your AppServer class right now to see if anything else jumps out.

--
Joakim Erdfelt

(the people behind jetty and cometd)



On Tue, May 29, 2012 at 6:11 AM, Matthias Sohn <[hidden email]> wrote:
we upgraded the JGit HTTP tests which used Jetty 7.1.6 so far to  
Jetty 8.1.3.v20120416 coming with Juno [1]. These tests start a Jetty server
with some JGit servlets from the JUnit's setup method and then send git 
commands over HTTP in order to test jgit's HTTP transport protocol 
implementation.

On some machines (actually hudson.eclipse.org running on SLES and
Dani's windows PC) these tests hang when run using Jetty 8.1.3.v20120416.

Dani captured a thread dump of the latter case [2] [3]. The jgit test sends
a request similar (recorded on Mac where the tests do not hang) to:
GET /git/test1338294501573_0.git/info/refs HTTP/1.1
Accept-Encoding: gzip
Pragma: no-cache
User-Agent: JGit/unknown
Accept: */*
Cache-Control: no-cache
Host: 127.0.0.1:65167
Connection: keep-alive
and hangs waiting for a response. It seems the request doesn't
reach any of the JGit servlets. This didn't happen with the exact
same tests run on Jetty 7.1.6.

The expected response for the above request should look similar to
HTTP/1.1 200 OK
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, max-age=0, must-revalidate
Content-Type: text/plain;charset=UTF-8
Content-Length: 59
Server: Jetty(8.1.3.v20120416)

897816ec1f72959180c6082ac3431d51978e1378.refs/heads/master
Any idea what could be wrong ?
Any hints how to trouble shoot this problem ?
I also asked webmaster to get a thread dump on hudson [4] but this isn't 
available yet

[1] JGit: - "Update Jetty to 8.1.3.v20120416" https://git.eclipse.org/r/#/c/6097/
EGit: - "Define target platforms for the build" https://git.eclipse.org/r/#/c/6098/

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev




--
Matthias

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev




--
Matthias

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Daniel Megert
In reply to this post by Matthias Sohn
My machine is a Window 7 64-bit, Intel Core i7 Q720 (4 cores). I see the problem with 32-bit and 64-bit Eclipse.
Are there some debug options I could enable on Jetty?

Dani



From: Matthias Sohn <[hidden email]>
To: "Jetty @ Eclipse developer discussion list" <[hidden email]>,
Cc: Daniel Megert/Zurich/IBM@IBMCH
Date: 29.05.2012 16:21
Subject: Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416





2012/5/29 Jesse McConnell <jesse.mcconnell@...>
We will need that thread dump as soon as you get it, can you respond
with it here and on the bug when you get it?


will do that
 
From the windows machine would be fine if you can get it easier
there...and a description of whatever that eclipse machine is O/S and
java version wise.  info on the windows machine as well


Dani: could you provide this information for your environment ?

 
cheers,
jesse

--
jesse mcconnell

jesse.mcconnell@...


On Tue, May 29, 2012 at 8:11 AM, Matthias Sohn
<
matthias.sohn@...> wrote:
> we upgraded the JGit HTTP tests which used Jetty 7.1.6 so far to
> Jetty 8.1.3.v20120416 coming with Juno [1]. These tests start a Jetty server
> with some JGit servlets from the JUnit's setup method and then send git
> commands over HTTP in order to test jgit's HTTP transport protocol
> implementation.
>
> On some machines (actually
hudson.eclipse.org running on SLES and
> Dani's windows PC) these tests hang when run using Jetty 8.1.3.v20120416.
>
> Dani captured a thread dump of the latter case [2] [3]. The jgit test sends
> a request similar (recorded on Mac where the tests do not hang) to:
>
> GET /git/test1338294501573_0.git/info/refs HTTP/1.1
> Accept-Encoding: gzip
> Pragma: no-cache
> User-Agent: JGit/unknown
> Accept: */*
> Cache-Control: no-cache
> Host:
127.0.0.1:65167
> Connection: keep-alive
>
> and hangs waiting for a response. It seems the request doesn't
> reach any of the JGit servlets. This didn't happen with the exact
> same tests run on Jetty 7.1.6.
>
> The expected response for the above request should look similar to
>
> HTTP/1.1 200 OK
> Expires: Fri, 01 Jan 1980 00:00:00 GMT
> Pragma: no-cache
> Cache-Control: no-cache, max-age=0, must-revalidate
> Content-Type: text/plain;charset=UTF-8
> Content-Length: 59
> Server: Jetty(8.1.3.v20120416)
>
> 897816ec1f72959180c6082ac3431d51978e1378.refs/heads/master
>
> Any idea what could be wrong ?
> Any hints how to trouble shoot this problem ?
> I also asked webmaster to get a thread dump on hudson [4] but this isn't
> available yet
>
> [1] JGit: - "Update Jetty to 8.1.3.v20120416"
>
https://git.eclipse.org/r/#/c/6097/
> EGit: - "Define target platforms for the build"
>
https://git.eclipse.org/r/#/c/6098/
> [2] bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=380302#c14 and
> ff
> [3] thread dump:
https://bugs.eclipse.org/bugs/attachment.cgi?id=216385
> [4] 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=380849
>
> --
> Matthias
>

> _______________________________________________
> jetty-dev mailing list
>
[hidden email]
>
https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
_______________________________________________
jetty-dev mailing list

[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



--
Matthias



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Baumgart, Jens
In reply to this post by Matthias Sohn
On my MacBook Pro the JGit http tests always hang with Jetty 7.5.1.
So the problem might not be related to a specific Jetty version. Other
colleagues with a MacBook do not have the problem.The logger is called
with the following warning:Dispatched Failed!
[hidden email][connected
local=/127.0.0.1:54987
remote=/127.0.0.1:55004][d=false,io=0,w=true,rb=false,wb=false] to
org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManage
r@63db6942#STARTED

I added further details to bug 380302
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=380302>.

Regards

Jens



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Jesse McConnell
saw you guys got your RC2 in, are you all sorted out or still having
issues with this?

cheers,
jesse

--
jesse mcconnell
[hidden email]


On Wed, May 30, 2012 at 7:43 AM, Baumgart, Jens <[hidden email]> wrote:

> On my MacBook Pro the JGit http tests always hang with Jetty 7.5.1.
> So the problem might not be related to a specific Jetty version. Other
> colleagues with a MacBook do not have the problem.The logger is called
> with the following warning:Dispatched Failed!
> [hidden email][connected
> local=/127.0.0.1:54987
> remote=/127.0.0.1:55004][d=false,io=0,w=true,rb=false,wb=false] to
> org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManage
> r@63db6942#STARTED
>
> I added further details to bug 380302
> <https://bugs.eclipse.org/bugs/show_bug.cgi?id=380302>.
>
> Regards
>
> Jens
>
>
>
> _______________________________________________
> jetty-dev mailing list
> [hidden email]
> https://dev.eclipse.org/mailman/listinfo/jetty-dev
_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Daniel Megert
We've still not figured out why it hangs on some machines.

Dani

From: Jesse McConnell <[hidden email]>
To: "Jetty @ Eclipse developer discussion list" <[hidden email]>,
Date: 31.05.2012 17:40
Subject: Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416





saw you guys got your RC2 in, are you all sorted out or still having
issues with this?

cheers,
jesse

--
jesse mcconnell
[hidden email]


On Wed, May 30, 2012 at 7:43 AM, Baumgart, Jens <[hidden email]> wrote:
> On my MacBook Pro the JGit http tests always hang with Jetty 7.5.1.
> So the problem might not be related to a specific Jetty version. Other
> colleagues with a MacBook do not have the problem.The logger is called
> with the following warning:Dispatched Failed!
> [hidden email][connected
> local=/127.0.0.1:54987
> remote=/127.0.0.1:55004][d=false,io=0,w=true,rb=false,wb=false] to
> org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManage
> r@63db6942#STARTED
>
> I added further details to bug 380302
> <
https://bugs.eclipse.org/bugs/show_bug.cgi?id=380302>.
>
> Regards
>
> Jens
>
>
>
> _______________________________________________
> jetty-dev mailing list
> [hidden email]
>
https://dev.eclipse.org/mailman/listinfo/jetty-dev
_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev




_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Matthias Sohn
In reply to this post by Jesse McConnell
2012/5/31 Jesse McConnell <[hidden email]>
saw you guys got your RC2 in, are you all sorted out or still having
issues with this?

I tested locally and disabled tests on Hudson to workaround the problem
and get RC2 out of the door. We found that on Jens Mac the tests also
hang reproducably with Jetty 7.5.1. Though we are not sure if this has
the same cause as the hang on Jetty 8.1.3. We attached thread dumps for both
cases to bug 380302. Jens also was able to capture the following
warning logged during the hang, maybe this makes sense to you :
Dispatched Failed! [hidden email][connected
local=/127.0.0.1:54987
remote=/127.0.0.1:55004][d=false,io=0,w=true,rb=false,wb=false] to
org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@63db6942#STARTED
I wasn't aware that Jetty 8.x needing Servlet 3.0 also requires Java 6. Since we 
do not want to discontinue Java 5 support for JGit we need to find a way to use 
the latest Jetty 7.x release instead of 8.x.

But installing 7.6 into Juno (tried with Eclipse SDK 4.2 RC2 and Jetty 7.6.0) seems 
to be impossible since Eclipse Help Developer Resources wants Jetty 8.1.3:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Jetty - Bundles: all the jetty bundles sources 7.6.0 (org.eclipse.jetty.bundles.f.source.feature.group 7.6.0)
  Software currently installed: Eclipse SDK 4.2.0.I20120524-2100 (org.eclipse.sdk.ide 4.2.0.I20120524-2100)
  Only one of the following can be installed at once: 
    Jetty :: Utilities 7.6.0.v20120127 (org.eclipse.jetty.util.source 7.6.0.v20120127)
    Jetty :: Utilities 8.1.3.v20120522 (org.eclipse.jetty.util.source 8.1.3.v20120522)
  Cannot satisfy dependency:
    From: Eclipse Help Developer Resources 1.3.0.v20120405-1401-8P7vFOTFK_Qj4JmCKMYI8Tn (org.eclipse.help.source.feature.group 1.3.0.v20120405-1401-8P7vFOTFK_Qj4JmCKMYI8Tn)
    To: org.eclipse.jetty.util.source [8.1.3.v20120522]
  Cannot satisfy dependency:
    From: Jetty - Bundles: all the jetty bundles sources 7.6.0 (org.eclipse.jetty.bundles.f.source.feature.group 7.6.0)
    To: org.eclipse.jetty.util.source [7.6.0.v20120127]
  Cannot satisfy dependency:
    From: Eclipse Project SDK 4.2.0.v20120522-2109-7T7mDFDPz-3FdpcTdH3vf9z-X_aZ4Bz-tcBJLHHhcWJnb (org.eclipse.sdk.feature.group 4.2.0.v20120522-2109-7T7mDFDPz-3FdpcTdH3vf9z-X_aZ4Bz-tcBJLHHhcWJnb)
    To: org.eclipse.help.source.feature.group [1.3.0.v20120405-1401-8P7vFOTFK_Qj4JmCKMYI8Tn]
  Cannot satisfy dependency:
    From: Eclipse SDK 4.2.0.I20120524-2100 (org.eclipse.sdk.ide 4.2.0.I20120524-2100)
    To: org.eclipse.sdk.feature.group [4.2.0.v20120522-2109-7T7mDFDPz-3FdpcTdH3vf9z-X_aZ4Bz-tcBJLHHhcWJnb]

Any idea how we could prevent this conflict in order to use Jetty 7.6 ?
Where can I find the p2 repository for 7.6.4 ? http://download.eclipse.org/jetty/
only lists p2 repository for 7.6.0.

--
Matthias

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Jesse McConnell
> Any idea how we could prevent this conflict in order to use Jetty 7.6 ?
> Where can I find the p2 repository for 7.6.4
> ? http://download.eclipse.org/jetty/
> only lists p2 repository for 7.6.0.


I am so not your osgi guy to answer those questions...

Once it was decided to go with version 8 for juno we sort of stopped
generating the p2 repositories for jetty7 since there didn't seem to
be any purpose behind it.  We could look at getting those builds
working again but they were a bit of a pain to get going.  Maybe
Hugues has a thought on that.

Jesse
_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Matthias Sohn
2012/6/1 Jesse McConnell <[hidden email]>
> Any idea how we could prevent this conflict in order to use Jetty 7.6 ?
> Where can I find the p2 repository for 7.6.4
> ? http://download.eclipse.org/jetty/
> only lists p2 repository for 7.6.0.


I am so not your osgi guy to answer those questions...

Once it was decided to go with version 8 for juno we sort of stopped
generating the p2 repositories for jetty7 since there didn't seem to
be any purpose behind it.  We could look at getting those builds
working again but they were a bit of a pain to get going.  Maybe
Hugues has a thought on that.

I asked our local p2 gurus and they told us to use p2 slicer mode in 
target platform definition instead of planner mode we used so far.
And this works :), so we now have a way to use Jetty 7.6 in Juno. 

Hopefully this also cures the hanging tests, waiting for a retest here.

--
Matthias 
 

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Jesse McConnell
it would be good to get to the bottom of the hanging tests though

can you verify that the hanging has occurred on the latest jvms?

cheers,
jesse

--
jesse mcconnell
[hidden email]


On Fri, Jun 1, 2012 at 8:59 AM, Matthias Sohn
<[hidden email]> wrote:

> 2012/6/1 Jesse McConnell <[hidden email]>
>>
>> > Any idea how we could prevent this conflict in order to use Jetty 7.6 ?
>> > Where can I find the p2 repository for 7.6.4
>> > ? http://download.eclipse.org/jetty/
>> > only lists p2 repository for 7.6.0.
>>
>>
>> I am so not your osgi guy to answer those questions...
>>
>> Once it was decided to go with version 8 for juno we sort of stopped
>> generating the p2 repositories for jetty7 since there didn't seem to
>> be any purpose behind it.  We could look at getting those builds
>> working again but they were a bit of a pain to get going.  Maybe
>> Hugues has a thought on that.
>
>
> I asked our local p2 gurus and they told us to use p2 slicer mode in
> target platform definition instead of planner mode we used so far.
> And this works :), so we now have a way to use Jetty 7.6 in Juno.
>
> Hopefully this also cures the hanging tests, waiting for a retest here.
>
> --
> Matthias
>
>
> _______________________________________________
> jetty-dev mailing list
> [hidden email]
> https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Daniel Megert
I used the latest JREs (6 and 7).

Dani

From: Jesse McConnell <[hidden email]>
To: "Jetty @ Eclipse developer discussion list" <[hidden email]>,
Date: 01.06.2012 16:04
Subject: Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416





it would be good to get to the bottom of the hanging tests though

can you verify that the hanging has occurred on the latest jvms?

cheers,
jesse

--
jesse mcconnell
[hidden email]


On Fri, Jun 1, 2012 at 8:59 AM, Matthias Sohn
<[hidden email]> wrote:
> 2012/6/1 Jesse McConnell <[hidden email]>
>>
>> > Any idea how we could prevent this conflict in order to use Jetty 7.6 ?
>> > Where can I find the p2 repository for 7.6.4
>> > ? 
http://download.eclipse.org/jetty/
>> > only lists p2 repository for 7.6.0.
>>
>>
>> I am so not your osgi guy to answer those questions...
>>
>> Once it was decided to go with version 8 for juno we sort of stopped
>> generating the p2 repositories for jetty7 since there didn't seem to
>> be any purpose behind it.  We could look at getting those builds
>> working again but they were a bit of a pain to get going.  Maybe
>> Hugues has a thought on that.
>
>
> I asked our local p2 gurus and they told us to use p2 slicer mode in
> target platform definition instead of planner mode we used so far.
> And this works :), so we now have a way to use Jetty 7.6 in Juno.
>
> Hopefully this also cures the hanging tests, waiting for a retest here.
>
> --
> Matthias
>
>
> _______________________________________________
> jetty-dev mailing list
> [hidden email]
>
https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Jesse McConnell
on a lark can you try java 8? there is a particular bug that we have been trying to get them to backport that was fixed in java 8

its possible this is another instance of it..

jesse

--
jesse mcconnell
[hidden email]


On Fri, Jun 1, 2012 at 9:06 AM, Daniel Megert <[hidden email]> wrote:
I used the latest JREs (6 and 7).

Dani

From: Jesse McConnell <[hidden email]>
To:
"Jetty @ Eclipse developer discussion list" <[hidden email]>,
Date: 01.06.2012 16:04
Subject: Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416





it would be good to get to the bottom of the hanging tests though

can you verify that the hanging has occurred on the latest jvms?

cheers,
jesse

--
jesse mcconnell
[hidden email]


On Fri, Jun 1, 2012 at 8:59 AM, Matthias Sohn
<[hidden email]> wrote:
> 2012/6/1 Jesse McConnell <[hidden email]>
>>
>> > Any idea how we could prevent this conflict in order to use Jetty 7.6 ?
>> > Where can I find the p2 repository for 7.6.4
>> > ? 
http://download.eclipse.org/jetty/
>> > only lists p2 repository for 7.6.0.
>>
>>
>> I am so not your osgi guy to answer those questions...
>>
>> Once it was decided to go with version 8 for juno we sort of stopped
>> generating the p2 repositories for jetty7 since there didn't seem to
>> be any purpose behind it.  We could look at getting those builds
>> working again but they were a bit of a pain to get going.  Maybe
>> Hugues has a thought on that.
>
>
> I asked our local p2 gurus and they told us to use p2 slicer mode in
> target platform definition instead of planner mode we used so far.
> And this works :), so we now have a way to use Jetty 7.6 in Juno.
>
> Hopefully this also cures the hanging tests, waiting for a retest here.
>
> --
> Matthias
>
>
> _______________________________________________
> jetty-dev mailing list
> [hidden email]
>
https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Daniel Megert
I also tried that (b26).

Dani

From: Jesse McConnell <[hidden email]>
To: "Jetty @ Eclipse developer discussion list" <[hidden email]>,
Date: 01.06.2012 16:09
Subject: Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416





on a lark can you try java 8? there is a particular bug that we have been trying to get them to backport that was fixed in java 8

its possible this is another instance of it..

jesse

--
jesse mcconnell

jesse.mcconnell@...


On Fri, Jun 1, 2012 at 9:06 AM, Daniel Megert <daniel_megert@...> wrote:
I used the latest JREs (6 and 7).

Dani

From: Jesse McConnell <jesse.mcconnell@...>
To: "Jetty @ Eclipse developer discussion list" <[hidden email]>,
Date: 01.06.2012 16:04
Subject: Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416






it would be good to get to the bottom of the hanging tests though

can you verify that the hanging has occurred on the latest jvms?

cheers,
jesse

--
jesse mcconnell

jesse.mcconnell@...


On Fri, Jun 1, 2012 at 8:59 AM, Matthias Sohn
<
matthias.sohn@...> wrote:
> 2012/6/1 Jesse McConnell <
jesse.mcconnell@...>
>>
>> > Any idea how we could prevent this conflict in order to use Jetty 7.6 ?
>> > Where can I find the p2 repository for 7.6.4
>> > ? 
http://download.eclipse.org/jetty/
>> > only lists p2 repository for 7.6.0.
>>
>>
>> I am so not your osgi guy to answer those questions...
>>
>> Once it was decided to go with version 8 for juno we sort of stopped
>> generating the p2 repositories for jetty7 since there didn't seem to
>> be any purpose behind it.  We could look at getting those builds
>> working again but they were a bit of a pain to get going.  Maybe
>> Hugues has a thought on that.
>
>
> I asked our local p2 gurus and they told us to use p2 slicer mode in
> target platform definition instead of planner mode we used so far.
> And this works :), so we now have a way to use Jetty 7.6 in Juno.
>
> Hopefully this also cures the hanging tests, waiting for a retest here.
>
> --
> Matthias
>
>
> _______________________________________________
> jetty-dev mailing list
>
[hidden email]
>
https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
_______________________________________________
jetty-dev mailing list

[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list

[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Joakim Erdfelt-9
Got an environment setup with the instructions at https://bugs.eclipse.org/bugs/show_bug.cgi?id=380302
( btw, the instructions at contributor guide on the wiki don't work - http://wiki.eclipse.org/EGit/Contributor_Guide )

Well, I can get around your hanging by just using the default threadpool implementation.

The numbers you have for min/max threads + max queued are far to low and are what is happening is a thread pool starvation.
No threads available to serve the incoming requests.

Just use the default implementation and configuration.

What I changed.

Was able to test the entire stack with no errors or hangs this way.
Also, the two shutdown settings you used are for JVM shutdown.
Since you have a junit @After with server.stop() that is sufficient (that's the technique we use for unit testing within jetty ourselves)

--
Joakim Erdfelt

(the people behind jetty and cometd)



On Fri, Jun 1, 2012 at 7:16 AM, Daniel Megert <[hidden email]> wrote:
I also tried that (b26).

Dani

From: Jesse McConnell <[hidden email]>
To:
"Jetty @ Eclipse developer discussion list" <[hidden email]>,
Date: 01.06.2012 16:09
Subject: Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416





on a lark can you try java 8? there is a particular bug that we have been trying to get them to backport that was fixed in java 8

its possible this is another instance of it..

jesse

--
jesse mcconnell

[hidden email]


On Fri, Jun 1, 2012 at 9:06 AM, Daniel Megert <[hidden email]> wrote:
I used the latest JREs (6 and 7).

Dani

From: Jesse McConnell <[hidden email]>
To: "Jetty @ Eclipse developer discussion list" <[hidden email]>,
Date: 01.06.2012 16:04
Subject: Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416






it would be good to get to the bottom of the hanging tests though

can you verify that the hanging has occurred on the latest jvms?

cheers,
jesse

--
jesse mcconnell

[hidden email]


On Fri, Jun 1, 2012 at 8:59 AM, Matthias Sohn
<
[hidden email]> wrote:
> 2012/6/1 Jesse McConnell <
[hidden email]>
>>
>> > Any idea how we could prevent this conflict in order to use Jetty 7.6 ?
>> > Where can I find the p2 repository for 7.6.4
>> > ? 
http://download.eclipse.org/jetty/
>> > only lists p2 repository for 7.6.0.
>>
>>
>> I am so not your osgi guy to answer those questions...
>>
>> Once it was decided to go with version 8 for juno we sort of stopped
>> generating the p2 repositories for jetty7 since there didn't seem to
>> be any purpose behind it.  We could look at getting those builds
>> working again but they were a bit of a pain to get going.  Maybe
>> Hugues has a thought on that.
>
>
> I asked our local p2 gurus and they told us to use p2 slicer mode in
> target platform definition instead of planner mode we used so far.
> And this works :), so we now have a way to use Jetty 7.6 in Juno.
>
> Hopefully this also cures the hanging tests, waiting for a retest here.
>
> --
> Matthias
>
>
> _______________________________________________
> jetty-dev mailing list
>
[hidden email]
>
https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
_______________________________________________
jetty-dev mailing list

[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list

[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416

Jesse McConnell
rawr, joakim to the rescue :)

--
jesse mcconnell
[hidden email]


On Fri, Jun 1, 2012 at 1:46 PM, Joakim Erdfelt <[hidden email]> wrote:
Got an environment setup with the instructions at https://bugs.eclipse.org/bugs/show_bug.cgi?id=380302
( btw, the instructions at contributor guide on the wiki don't work - http://wiki.eclipse.org/EGit/Contributor_Guide )

Well, I can get around your hanging by just using the default threadpool implementation.

The numbers you have for min/max threads + max queued are far to low and are what is happening is a thread pool starvation.
No threads available to serve the incoming requests.

Just use the default implementation and configuration.

What I changed.

Was able to test the entire stack with no errors or hangs this way.
Also, the two shutdown settings you used are for JVM shutdown.
Since you have a junit @After with server.stop() that is sufficient (that's the technique we use for unit testing within jetty ourselves)

--
Joakim Erdfelt

(the people behind jetty and cometd)



On Fri, Jun 1, 2012 at 7:16 AM, Daniel Megert <[hidden email]> wrote:
I also tried that (b26).

Dani

From: Jesse McConnell <[hidden email]>
To:
"Jetty @ Eclipse developer discussion list" <[hidden email]>,
Date: 01.06.2012 16:09
Subject: Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416





on a lark can you try java 8? there is a particular bug that we have been trying to get them to backport that was fixed in java 8

its possible this is another instance of it..

jesse

--
jesse mcconnell

[hidden email]


On Fri, Jun 1, 2012 at 9:06 AM, Daniel Megert <[hidden email]> wrote:
I used the latest JREs (6 and 7).

Dani

From: Jesse McConnell <[hidden email]>
To: "Jetty @ Eclipse developer discussion list" <[hidden email]>,
Date: 01.06.2012 16:04
Subject: Re: [jetty-dev] hanging JGit HTTP tests using Jetty 8.1.3.v20120416






it would be good to get to the bottom of the hanging tests though

can you verify that the hanging has occurred on the latest jvms?

cheers,
jesse

--
jesse mcconnell

[hidden email]


On Fri, Jun 1, 2012 at 8:59 AM, Matthias Sohn
<
[hidden email]> wrote:
> 2012/6/1 Jesse McConnell <
[hidden email]>
>>
>> > Any idea how we could prevent this conflict in order to use Jetty 7.6 ?
>> > Where can I find the p2 repository for 7.6.4
>> > ? 
http://download.eclipse.org/jetty/
>> > only lists p2 repository for 7.6.0.
>>
>>
>> I am so not your osgi guy to answer those questions...
>>
>> Once it was decided to go with version 8 for juno we sort of stopped
>> generating the p2 repositories for jetty7 since there didn't seem to
>> be any purpose behind it.  We could look at getting those builds
>> working again but they were a bit of a pain to get going.  Maybe
>> Hugues has a thought on that.
>
>
> I asked our local p2 gurus and they told us to use p2 slicer mode in
> target platform definition instead of planner mode we used so far.
> And this works :), so we now have a way to use Jetty 7.6 in Juno.
>
> Hopefully this also cures the hanging tests, waiting for a retest here.
>
> --
> Matthias
>
>
> _______________________________________________
> jetty-dev mailing list
>
[hidden email]
>
https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
_______________________________________________
jetty-dev mailing list

[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list

[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev

_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev



_______________________________________________
jetty-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-dev
12