Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116283 - unit tests for dev-java/commons-httpclient-3.0 fail
Summary: unit tests for dev-java/commons-httpclient-3.0 fail
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 07:17 UTC by Patrizio Bassi
Modified: 2005-12-22 00:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2005-12-21 07:17:31 UTC
i don't know if it's jdk 1.5.0.0.6 (mine) or it's a general problem:

compilation works, test fails


test:
     [java] [WARN] HttpMethodBase - Chunk-encoded body missing
     [java] [WARN] HttpMethodBase - Chunk-encoded body missing
     [java] [WARN] ProxyRequestHandler - chunked stream ended unexpectedly
     [java] [WARN] HttpMethodBase - Chunk-encoded body missing
     [java] [WARN] ProxyRequestHandler - chunked stream ended unexpectedly
     [java] [WARN] HttpMethodBase - Chunk-encoded body missing
     [java] .........................................
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [WARN] HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [WARN] HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [WARN] HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [WARN] HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] .........................................
     [java] [WARN] HttpMethodBase - Extra response data detected - closing connection
     [java] [WARN] HttpMethodBase - Extra response data detected - closing connection
     [java] .........................................
     [java] .........................................
     [java] .........................................
     [java] .........................................
     [java] [WARN] CookieSpec - Invalid cookie state: domain not specified
     [java] [WARN] CookieSpec - Invalid cookie state: path not specified
     [java] .........................................
     [java] [INFO] AuthChallengeProcessor - Basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - unsupported1 authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - No credentials available for BASIC 'test'@localhost:43687
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - No credentials available for BASIC 'test'@localhost:43734
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:47886
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [WARN] HttpMethodDirector - Required credentials not available for BASIC <any realm>@localhost:40998
     [java] [WARN] HttpMethodDirector - Preemptive authentication requested but no default credentials available
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:40998
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:53630
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - No credentials available for BASIC 'test'@localhost:50332
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - No credentials available for BASIC 'test'@localhost:46462
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:51311
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] .........................................
     [java] [WARN] HttpMethodDirector - Required proxy credentials not available for BASIC <any realm>@localhost:41824
     [java] [WARN] HttpMethodDirector - Preemptive authentication requested but no default proxy credentials available
     [java] [WARN] HttpMethodDirector - Required proxy credentials not available for BASIC <any realm>@localhost:57438
     [java] [WARN] HttpMethodDirector - Preemptive authentication requested but no default proxy credentials available
     [java] [WARN] HttpMethodDirector - Required credentials not available for BASIC <any realm>@localhost:42047
     [java] [WARN] HttpMethodDirector - Preemptive authentication requested but no default credentials available
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:42047
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [WARN] HttpMethodDirector - Required proxy credentials not available for BASIC <any realm>@localhost:48181
     [java] [WARN] HttpMethodDirector - Preemptive authentication requested but no default proxy credentials available
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:52240
     [java] [WARN] DigestScheme - Unsupported qop detected: jakarta
     [java] [INFO] AuthChallengeProcessor - digest authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - ntlm authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - ntlm authentication scheme selected
     [java] [INFO] HttpMethodDirector - Redirect requested but followRedirects is disabled
     [java] [ERROR] HttpMethodDirector - Narrowly avoided an infinite loop in execute
     [java] [INFO] HttpMethodDirector - Redirect requested but followRedirects is disabled
     [java] [WARN] HttpMethodDirector - Relative redirect location '/relativelocation/' not allowed
     [java] .........................................
     [java] [INFO] HttpMethodDirector - Redirect requested but followRedirects is disabled
     [java] [ERROR] HttpMethodDirector - Narrowly avoided an infinite loop in execute
     [java] [INFO] HttpMethodDirector - Redirect requested but followRedirects is disabled
     [java] [WARN] HttpMethodDirector - Relative redirect location '/relativelocation/' not allowed
     [java] [INFO] HttpMethodDirector - I/O exception (java.io.IOException) caught when processing request: Oh no!!
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [INFO] HttpMethodDirector - I/O exception (java.io.IOException) caught when processing request: Oh no!!
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [INFO] HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [WARN] HttpConnection - HttpConnectionManager is null.  Connection cannot be released.
     [java] [WARN] HttpConnection - HttpConnectionManager is null.  Connection cannot be released.
     [java] [WARN] HttpConnection - HttpConnectionManager is null.  Connection cannot be released.
     [java] [WARN] HttpConnection - HttpConnectionManager is null.  Connection cannot be released.
     [java] [WARN] HttpConnection - HttpConnectionManager is null.  Connection cannot be released.
     [java] [WARN] HttpConnection - HttpConnectionManager is null.  Connection cannot be released.
     [java] [WARN] HttpConnection - HttpConnectionManager is null.  Connection cannot be released.
     [java] .........................................
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] .........................................
     [java] [WARN] HeadMethod - Body content returned in response to HTTP HEAD
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:40786
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:43816
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:38430
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:44026
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [WARN] HttpMethodDirector - Required credentials not available for BASIC <any realm>@localhost:47123
     [java] [WARN] HttpMethodDirector - Preemptive authentication requested but no default credentials available
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodDirector - I/O exception (javax.net.ssl.SSLException) caught when processing request: Received close_notify during handshake
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] .........................................
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:59259
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:34877
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodDirector - I/O exception (javax.net.ssl.SSLException) caught when processing request: Received close_notify during handshake
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:58420
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodDirector - I/O exception (javax.net.ssl.SSLException) caught when processing request: Received close_notify during handshake
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodDirector - I/O exception (java.net.SocketException) caught when processing request: Broken pipe
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - Failure authenticating with BASIC 'test'@localhost:54668
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodDirector - I/O exception (javax.net.ssl.SSLException) caught when processing request: Received close_notify during handshake
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodDirector - I/O exception (javax.net.ssl.SSLException) caught when processing request: Received close_notify during handshake
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] HttpMethodDirector - I/O exception (javax.net.ssl.SSLException) caught when processing request: Received close_notify during handshake
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [WARN] HttpMethodDirector - Required credentials not available for BASIC <any realm>@localhost:60774
     [java] [WARN] HttpMethodDirector - Preemptive authentication requested but no default credentials available
     [java] [INFO] HttpMethodBase - Response content length is not known
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - I/O exception (javax.net.ssl.SSLException) caught when processing request: Received close_notify during handshake
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] HttpMethodDirector - I/O exception (javax.net.ssl.SSLException) caught when processing request: Received close_notify during handshake
     [java] [INFO] HttpMethodDirector - Retrying request
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [INFO] AuthChallengeProcessor - basic authentication scheme selected
     [java] [WARN] HttpMethodDirector - Required credentials not available for BASIC <any realm>@localhost:36514
     [java] [WARN] HttpMethodDirector - Preemptive authentication requested but no default credentials available
     [java] [WARN] HttpMethodDirector - Required credentials not available for BASIC <any realm>@127.0.0.1:36514
     [java] [WARN] HttpMethodDirector - Preemptive authentication requested but no default credentials available
     [java] ....................E.....
     [java] Time: 82,629
     [java] There was 1 error:
     [java] 1) testPostInteractiveProxyAuthHostAuthConnClose(org.apache.commons.httpclient.TestProxy)javax.net.ssl.SSLException: Received close_notify during handshake
     [java]     at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)
     [java]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1476)
     [java]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1438)
     [java]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1521)
     [java]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
     [java]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1345)
     [java]     at com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:103)
     [java]     at com.sun.net.ssl.internal.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:590)
     [java]     at com.sun.net.ssl.internal.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:697)
     [java]     at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:623)
     [java]     at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:160)
     [java]     at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
     [java]     at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
     [java]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:815)
     [java]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
     [java]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:619)
     [java]     at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
     [java]     at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
     [java]     at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
     [java]     at org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(Unknown Source)
     [java]     at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(Unknown Source)
     [java]     at org.apache.commons.httpclient.HttpMethodBase.writeRequest(Unknown Source)
     [java]     at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source)
     [java]     at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
     [java]     at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
     [java]     at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
     [java]     at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
     [java]     at org.apache.commons.httpclient.TestProxy.testPostInteractiveProxyAuthHostAuthConnClose(Unknown Source)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
     [java]     at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
     [java]     at junit.extensions.TestSetup.run(TestSetup.java:23)

     [java] FAILURES!!!
     [java] Tests run: 517,  Failures: 0,  Errors: 1


BUILD FAILED
/mnt/Dati/Gentoo/tmp/portage/commons-httpclient-3.0/work/commons-httpclient-3.0/build.xml:219: Java returned: 1

Total time: 2 minutes 57 seconds

!!! ERROR: dev-java/commons-httpclient-3.0 failed.
!!! Function src_compile, Line 43, Exitcode 1
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2005-12-21 07:55:36 UTC
Have you tried with a a 1.4 JDK? If the problem is present with 1.4, please re-open.
Comment 2 Patrizio Bassi 2005-12-21 11:05:32 UTC
i can't try cause i haven't a jdk 1.4 installed for harddisk space problems.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-12-21 11:17:12 UTC
     [java] .....................
     [java] Time: 44.994

     [java] OK (513 tests)


BUILD SUCCESSFUL
Total time: 1 minute 4 seconds
>>> Source compiled.
>>> Test phase [not enabled]: dev-java/commons-httpclient-3.0_rc4

pena jamvm # java-config -L
Cannot find JAVA_HOME in config file /etc/env.d/java/22javacc
[kaffe] "Kaffe 1.1.6" (/etc/env.d/java/20kaffe)
[sun-jdk-1.3] "Sun JDK 1.3.1.16" (/etc/env.d/java/20sun-jdk-1.3)
[sun-jdk-1.5.0.06] "Sun JDK 1.5.0.06" (/etc/env.d/java/20sun-jdk-1.5.0.06)
[blackdown-jdk-1.4.2.03] "Blackdown JDK 1.4.2.03" (/etc/env.d/java/20blackdown-jdk-1.4.2.03) *
[sun-jdk-1.4.2.10] "Sun JDK 1.4.2.10" (/etc/env.d/java/20sun-jdk-1.4.2.10)
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-12-21 11:20:43 UTC
Well I had an outdated commons-httpclient, but updating to the newest version did not fail either. I even can't reproduce this with 1.5.
Comment 5 Josh Nichols (RETIRED) gentoo-dev 2005-12-21 11:38:42 UTC
The workaround for this is to add an entry to /etc/portage/package.use:

dev-java/commons-httpclient -junit

This should prevent unit tests from running.
Comment 6 Patrizio Bassi 2005-12-22 00:47:17 UTC
yes with -junit it merges

but you'd better investigate why junit tests fails

thanks