hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCORE-83) Test failures in SVN head
Date Wed, 20 Jun 2007 21:08:26 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506672
] 

Oleg Kalnichevski commented on HTTPCORE-83:
-------------------------------------------

> I've run the tests with your patches and the properties as you mentioned -- the tests
still fail. 

The patch does not change anything in HttpCore. It merely adds debug logging, which may help
me pinpoint the cause of the problem. Tests are expected to fail. The trouble they do not
on my old Pentium M based PC. I am a little reluctant to buy a Dual Core box only because
of this. So I would really appreciate if you could provide me with the debug log of a failed
test.

> The only tests that are failing seem to be the ThrottlingHttpServiceHandler tests, in
the httpcore test suite, 
> and we don't actually use that code in our application.

I am not aware of a single project using ThrottlingHttpServiceHandler hence my opinion this
issue should not block the release

> However, we do still have test failures in our own test suite of the code that uses httpcore
(haven't tested this with your patches).

Again, I'll happily help if you give me enough input to run with.

> I didn't see a log file get produced when I ran these test. If there was supposed to
be, and you want it, let me know and 
> we can figure it out from there.

Please run TestNIOHttp with the system properties I mentioned above passed to the JVM on the
command line. This will activate the debug output to the system console.

Oleg 


> Test failures in SVN head
> -------------------------
>
>                 Key: HTTPCORE-83
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-83
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>         Environment: Dual core windows vista
>            Reporter: Anders Wallgren
>            Priority: Blocker
>             Fix For: 4.0-alpha5
>
>         Attachments: throttling-service-bug.patch
>
>
> In the current svn head (revision 547953), I'm getting these test failures:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.http.nio.TestAll
> Exception in thread "worker-thread-28" java.lang.IllegalStateException: Buffer already
closed for writing
>         at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
>         at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
>         at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274)
>         at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
> Exception in thread "worker-thread-34" java.lang.IllegalStateException: Buffer already
closed for writing
>         at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
>         at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
>         at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274)
>         at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
> Exception in thread "worker-thread-39" java.lang.IllegalStateException: Buffer already
closed for writing
>         at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112)
>         at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67)
>         at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94)
>         at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274)
>         at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204)
> Tests run: 100, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 11.224 sec <<<
FAILURE!
> Results :
> Failed tests:
>   testSimpleHttpGets(org.apache.http.nio.protocol.TestNIOHttp)
>   testSimpleHttpPostsWithContentLength(org.apache.http.nio.protocol.TestNIOHttp)
>   testSimpleHttpPostsHTTP10(org.apache.http.nio.protocol.TestNIOHttp)
>   testSimpleHttpHeads(org.apache.http.nio.protocol.TestNIOHttp)
> Tests run: 100, Failures: 4, Errors: 0, Skipped: 0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message