hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: New release tools / release manager for HttpClient 4.3.2?
Date Wed, 15 Jan 2014 13:56:20 GMT
On Wed, Jan 15, 2014 at 8:24 AM, Oleg Kalnichevski <olegk@apache.org> wrote:

> On Tue, 2014-01-14 at 19:00 -0500, Gary Gregory wrote:
> > On Tue, Jan 14, 2014 at 6:56 PM, Gary Gregory <garydgregory@gmail.com
> >wrote:
> >
>
> ...
>
> > Running
> org.apache.http.impl.client.integration.TestIdleConnectionEviction
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.332 sec
> > <<< FAILURE! - in
> > org.apache.http.impl.client.integration.TestIdleConnectionEviction
> >
> testIdleConnectionEviction(org.apache.http.impl.client.integration.TestIdleConnectionEviction)
> > Time elapsed: 2.331 sec  <<< ERROR!
> > java.lang.IllegalStateException: Entry
> > [id:283][route:{}->http://127.0.0.1:58655][state:null] has not been
> leased
> > from this pool
> >         at org.apache.http.util.Asserts.check(Asserts.java:40)
> >         at
> > org.apache.http.pool.RouteSpecificPool.free(RouteSpecificPool.java:123)
> >         at
> > org.apache.http.pool.AbstractConnPool.release(AbstractConnPool.java:308)
> >         at
> >
> org.apache.http.impl.conn.PoolingHttpClientConnectionManager.releaseConnection(PoolingHttpClientConnectionManager.java:280)
> >         at
> >
> org.apache.http.impl.execchain.ConnectionHolder.releaseConnection(ConnectionHolder.java:100)
> >         at
> >
> org.apache.http.impl.execchain.ResponseEntityWrapper.releaseConnection(ResponseEntityWrapper.java:68)
> >         at
> >
> org.apache.http.impl.execchain.ResponseEntityWrapper.streamClosed(ResponseEntityWrapper.java:121)
> >         at
> >
> org.apache.http.conn.EofSensorInputStream.checkClose(EofSensorInputStream.java:227)
> >         at
> >
> org.apache.http.conn.EofSensorInputStream.close(EofSensorInputStream.java:174)
> >         at org.apache.http.util.EntityUtils.consume(EntityUtils.java:88)
> >         at
> >
> org.apache.http.impl.client.integration.TestIdleConnectionEviction$WorkerThread.run(TestIdleConnectionEviction.java:119)
> >
> > Gary
> >
> > >
> > > This test works in Eclipse... arg.
> > >
> > > Gary
>
> Gary
>
> It is amazing how long concurrency bugs can go undetected. The test in
> question was created several years back and was regularly executed by
> the CI server and locally with every build. Yet, it hit you at that very
> moment when you were preparing a release.
>
> The bug needs to be fixed in HttpCore (low level connection pooling). It
> cannot be fixed in HttpClient.
>
> I propose that we set the test to @Ignore temporarily and move on with
> the release.
>

Roger that.

Gary


>
> Oleg
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message