hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Hudson Server <hud...@hudson.apache.org>
Subject Build failed in Jenkins: HttpComponents Client #277
Date Thu, 24 Mar 2011 00:21:56 GMT
See <https://hudson.apache.org/hudson/job/HttpComponents%20Client/277/changes>

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)


Mime
View raw message