On Tue, Jan 14, 2014 at 6:56 PM, Gary Gregory <[email protected]>wrote:
> On Tue, Jan 14, 2014 at 6:14 PM, Gary Gregory <[email protected]>wrote: > >> OK, I was able to get past this last hurdle only to hit the following >> fail during 'gradlew -q deployRC' (not the goofy box corner char). >> >> Results : >> >> Tests in error: >> TestIdleConnectionEviction.testIdleConnectionEviction ╗ IllegalState >> Entry [id... >> >> Tests run: 858, Failures: 0, Errors: 1, Skipped: 0 >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] HttpComponents Client ............................. SUCCESS >> [9.949s] >> [INFO] Apache HttpClient ................................. FAILURE >> [28.403s] >> [INFO] Apache HttpClient Mime ............................ SKIPPED >> [INFO] Fluent API for Apache HttpClient .................. SKIPPED >> [INFO] Apache HttpClient Cache ........................... SKIPPED >> [INFO] Apache HttpClient OSGi bundle ..................... SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 40.122s >> [INFO] Finished at: Tue Jan 14 18:11:40 EST 2014 >> [INFO] Final Memory: 52M/622M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on >> project httpclient: There are test failures. >> [ERROR] >> [ERROR] Please refer to >> C:\temp\rc\release-httpclient-4.3.2\build\repos-asf-httpcomponents-httpclient-tags-4.3.2-RC1\httpclient\target\surefire-reports >> for the individual test results. >> > More precisely: 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 >> >> >> On Tue, Jan 14, 2014 at 5:52 PM, Gary Gregory <[email protected]>wrote: >> >>> Testing... >>> >>> >>> On Tue, Jan 14, 2014 at 5:52 PM, Gary Gregory <[email protected]>wrote: >>> >>>> I reran the whole list of Gradle commands after deleting the 'build' >>>> folder to make sure I got freshly checked out and rewritten POMs. Same >>>> error. >>>> >>>> Looking at the Groovy change, the result makes sense because it would >>>> mean that the system could not find the stock line.separator system >>>> property... >>>> >>>> Gary >>>> >>>> >>>> On Tue, Jan 14, 2014 at 4:39 PM, Gary Gregory >>>> <[email protected]>wrote: >>>> >>>>> On Tue, Jan 14, 2014 at 3:38 PM, Oleg Kalnichevski >>>>> <[email protected]>wrote: >>>>> >>>>>> On Tue, 2014-01-14 at 11:03 -0500, Gary Gregory wrote: >>>>>> >>>>>> ... >>>>>> >>>>>> > * Where: >>>>>> > Build file 'C:\temp\rc\release-httpclient-4.3.2\build.gradle' line: >>>>>> 178 >>>>>> > >>>>>> > * What went wrong: >>>>>> > Execution failed for task ':commitRCTag'. >>>>>> > > org.tmatesoft.svn.core.SVNException: svn: E135000: While preparing >>>>>> > >>>>>> 'C:\temp\rc\release-httpclient-4.3.2\build\repos-asf-httpcomponents-httpclient-trunk\fluent-hc\pom.xml' >>>>>> > for commit >>>>>> > svn: E135000: Inconsistent line ending style >>>>>> > >>>>>> > * Try: >>>>>> > Run with --stacktrace option to get the stack trace. Run with >>>>>> --info or >>>>>> > --debug option to get more log output. >>>>>> > >>>>>> > I've not had this problem using Maven to do the same kind of thing. >>>>>> > >>>>>> > Gary >>>>>> > >>>>>> Gary >>>>>> >>>>>> The release scripts uses the same library used by maven release plugin >>>>>> (jdom). Could you please apply this patch, run 'gradlew clean' and >>>>>> retry? >>>>>> >>>>> >>>>> Same issue: >>>>> [snip] >>>>> Please enter release candidate qualifier: [defaults to RC1] >>>>> >>>>> Rewriting POMs >>>>> RC tag to be created: >>>>> https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.3.2-RC1 >>>>> >>>>> Creating tag for HttpClient 4.3.2 RC1 from local content >>>>> Adding build\repos-asf-httpcomponents-httpclient-trunk >>>>> Sending >>>>> build\repos-asf-httpcomponents-httpclient-trunk\fluent-hc\pom.xml >>>>> Sending >>>>> build\repos-asf-httpcomponents-httpclient-trunk\httpclient\pom.xml >>>>> Sending >>>>> build\repos-asf-httpcomponents-httpclient-trunk\httpclient-cache\pom.xml >>>>> Sending >>>>> build\repos-asf-httpcomponents-httpclient-trunk\httpclient-osgi\pom.xml >>>>> Sending >>>>> build\repos-asf-httpcomponents-httpclient-trunk\httpmime\pom.xml >>>>> Sending build\repos-asf-httpcomponents-httpclient-trunk\pom.xml >>>>> Transmitting file data . >>>>> FAILURE: Build failed with an exception. >>>>> >>>>> * Where: >>>>> Build file 'C:\temp\rc\release-httpclient-4.3.2\build.gradle' line: 178 >>>>> >>>>> * What went wrong: >>>>> Execution failed for task ':commitRCTag'. >>>>> > org.tmatesoft.svn.core.SVNException: svn: E135000: While preparing >>>>> 'C:\temp\rc\release-httpclient-4.3.2\build\repos-asf-httpcomponents-httpclient-trunk\fluent-hc\pom.xml' >>>>> for commit >>>>> svn: E135000: Inconsistent line ending style >>>>> >>>>> Gary >>>>> >>>>> >>>>>> Oleg >>>>>> >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: [email protected] >>>>>> For additional commands, e-mail: [email protected] >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> E-Mail: [email protected] | [email protected] >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> E-Mail: [email protected] | [email protected] >>>> 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 >>>> >>> >>> >>> >>> -- >>> E-Mail: [email protected] | [email protected] >>> 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 >>> >> >> >> >> -- >> E-Mail: [email protected] | [email protected] >> 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 >> > > > > -- > E-Mail: [email protected] | [email protected] > 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 > -- E-Mail: [email protected] | [email protected] 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
