Return-Path: Delivered-To: apmail-hc-commits-archive@www.apache.org Received: (qmail 33123 invoked from network); 24 Mar 2011 00:22:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2011 00:22:18 -0000 Received: (qmail 96139 invoked by uid 500); 24 Mar 2011 00:22:18 -0000 Delivered-To: apmail-hc-commits-archive@hc.apache.org Received: (qmail 96093 invoked by uid 500); 24 Mar 2011 00:22:18 -0000 Mailing-List: contact commits-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list commits@hc.apache.org Received: (qmail 96086 invoked by uid 99); 24 Mar 2011 00:22:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 00:22:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.8] (HELO aegis.apache.org) (140.211.11.8) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 00:22:16 +0000 Received: from aegis (localhost [127.0.0.1]) by aegis.apache.org (Postfix) with ESMTP id C6E38C003F for ; Thu, 24 Mar 2011 00:21:56 +0000 (UTC) Date: Thu, 24 Mar 2011 00:21:56 +0000 (UTC) From: Apache Hudson Server To: commits@hc.apache.org Message-ID: <1002552954.731300926116812.JavaMail.hudson@aegis> Subject: Build failed in Jenkins: HttpComponents Client #277 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit See Changes: [jonm] HTTPCLIENT-1073: In the event a 100 (Continue) response makes its way up to the caching module, but the original request did not expect one, it's acceptable for the caching module to throw an exception but it had better consume the body of the 100 (Continue) response before doing so to ensure proper release of resources. Encountering this would require the underlying (non-caching) HttpClient to not handle the expect-continue handshake properly *AND* for the origin server to send a 100-Continue response out of turn *WITH* a response body. Highly unlikely, but at least this codepath is covered properly now. [jonm] HTTPCLIENT-1073: receiving a 206 (Partial Content) response to a request that did not request partial content is problematic from a cache perspective, so throwing a ClientProtocolException is ok. However, we should properly consume the body of the 206 response before throwing the exception to ensure that resources are properly released. [jonm] HTTPCLIENT-1073: caching module should not reject origin 401 (Unauthorized) response just because it is missing a WWW-Authenticate challenge header; the caching module doesn't care about this and should mind its own business. [jonm] HTTPCLIENT-1073: caching module should not reject an origin 405 (Method Not Allowed) response just because it is missing an Allow header, even though this is required by RFC2616; this has no effect on the caching module itself. [jonm] HTTPCLIENT-1073: if caching module strips off a body for an origin response that should not contain one, it should consume the body off the connection as well to ensure resources are released. [jonm] HTTPCLIENT-1073: caching module need not be a stickler about receiving a 407 (Proxy Authentication Required) response without a Proxy-Authenticate header and should pass it through to local client. ------------------------------------------ Started by an SCM change Building remotely on ubuntu1 Updating http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk U httpclient-cache/src/test/java/org/apache/http/impl/client/cache/TestProtocolDeviations.java AU httpclient-cache/src/test/java/org/apache/http/impl/client/cache/TestResponseProtocolCompliance.java U httpclient-cache/src/main/java/org/apache/http/impl/client/cache/ResponseProtocolCompliance.java At revision 1084814 Found mavenVersion 2.2.1 from file jar:file:/home/hudson/tools/maven/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs ERROR: Processing failed due to a bug in the code. Please report this to jenkins-users@googlegroups.com java.lang.ClassCastException: cannot assign instance of hudson.model.StreamBuildListener to field hudson.maven.MavenModuleSetBuild$PomParser.listener of type hudson.model.BuildListener in instance of hudson.maven.MavenModuleSetBuild$PomParser at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2056) at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1229) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1887) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1963) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1887) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368) at hudson.remoting.UserRequest.deserialize(UserRequest.java:178) at hudson.remoting.UserRequest.perform(UserRequest.java:98) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) project=hudson.maven.MavenModuleSet@2a23bf89[HttpComponents Client] project.getModules()=[hudson.maven.MavenModule@7612e9d2[HttpComponents Client/org.apache.httpcomponents:httpclient][HttpComponents Client/org.apache.httpcomponents:httpclient][relativePath:httpclient], hudson.maven.MavenModule@263c7dbf[HttpComponents Client/org.apache.httpcomponents:httpclient-cache][HttpComponents Client/org.apache.httpcomponents:httpclient-cache][relativePath:httpclient-cache], hudson.maven.MavenModule@20fcfc67[HttpComponents Client/org.apache.httpcomponents:httpclient-osgi][HttpComponents Client/org.apache.httpcomponents:httpclient-osgi][relativePath:httpclient-osgi], hudson.maven.MavenModule@23e48a4f[HttpComponents Client/org.apache.httpcomponents:httpcomponents-client][HttpComponents Client/org.apache.httpcomponents:httpcomponents-client][relativePath:], hudson.maven.MavenModule@7046bc3e[HttpComponents Client/org.apache.httpcomponents:httpmime][HttpComponents Client/org.apache.httpcomponents:httpmime][relativePath:httpmime]] project.getRootModule()=hudson.maven.MavenModule@23e48a4f[HttpComponents Client/org.apache.httpcomponents:httpcomponents-client][HttpComponents Client/org.apache.httpcomponents:httpcomponents-client][relativePath:] FATAL: cannot assign instance of hudson.model.StreamBuildListener to field hudson.maven.MavenModuleSetBuild$PomParser.listener of type hudson.model.BuildListener in instance of hudson.maven.MavenModuleSetBuild$PomParser java.lang.ClassCastException: cannot assign instance of hudson.model.StreamBuildListener to field hudson.maven.MavenModuleSetBuild$PomParser.listener of type hudson.model.BuildListener in instance of hudson.maven.MavenModuleSetBuild$PomParser at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2056) at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1229) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1887) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1963) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1887) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368) at hudson.remoting.UserRequest.deserialize(UserRequest.java:178) at hudson.remoting.UserRequest.perform(UserRequest.java:98) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)